windows - ImmNotifyIME() with empty string? -


i have doubt on immnotifyime() function.

immnotifyime(hwnd, ni_compositionstr, cps_cancel, 0); 

if created hwnd empty string. then, return? whether through error?

immnotifyime takes handle input context, not hwnd. but, assuming meant

himc himc = immgetcontext(hwnd); immnotifyime(immgetcontext(hwnd), ni_compositionstr, cps_cancel, 0); immreleasecontext(himc); 

then clear pending composition, if 1 open or not.


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -