Closed TimoKunze closed 5 years ago
In WM_KEYDOWN the ComCtlsPeekCharCode is used to cache the unicode char code for the upcoming WM_CHAR. Then later the cached char code is used in the WM_CHAR handler to replace the char code. Reason for this replace is because the VB6 ANSI message bump might ANSIfy the char code for WM_CHAR. With the cache this is circumvented.
Hi,
I've found out that the following code makes the Windows 10 emoji IME work correctly with these controls in VB6 apps:
But in the code I can see a lot more special handling, e.g. the
ComCtlsPeekCharCode
stuff. Can you tell me when this extra code is necessary? I have deactivated it and so far cannot see any difference.Awesome work by the way. 👍
Best regards