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
Post a Comment