Platform SDK: International Features |
The WM_IME_KEYUP message is sent to an application by the IME to notify the application of a key release. An application can process this message or pass it to the DefWindowProc function to generate a matching WM_KEYUP message. This message is usually generated by the IME to keep message order.
A window receives this message through its WindowProc function.
LRESULT CALLBACK WindowProc( HWND hwnd, // handle to window UINT uMsg, // WM_IME_KEYUP WPARAM wParam, // virtual-key code LPARAM lParam // key data );
Specifies the repeat count, scan code, extended-key flag, context code, previous key-state flag, and transition-state flag, as shown in the following.
Bit | Meaning |
---|---|
0-15 | Repeat count. This value is always 1. |
16-23 | Scan code. |
24 | Extended key. This value is 1 if it is an extended key; otherwise, it is zero. |
25-28 | Not used. |
29 | Context code. This value is always zero. |
30 | Previous key state. This value is always 1. |
31 | Transition state. This value is always 1. |
An application should return zero if it processes this message.
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Imm.h.
Input Method Editor Overview, Input Method Editor Messages, DefWindowProc, WM_KEYUP