Member No.: 24334
Joined: 10-July 09
This tiny bug has probably been around for a while but I just noticed it...
According to the documentation, sending zero for the wParam parameter of the EM_CANPASTE message will "try any format currently on the clipboard". Regardless of the contents of the clipboard, the message always returns 0 (cannot paste) when wParam=0.
Also, I'm not entirely sure what "try(ing) any format currently on the clipboard" is supposed to mean. It might make more sense if the EM_CANPASTE message (where wParam=0) were to return True if the clipboard contains any formats supported by the HiEdit control.
Thank you for your consideration.