MSDN 还看不懂那就没办法了ImmGetContext The ImmGetContext function retrieves the input context associated with the specified window.HIMC ImmGetContext( HWND hWnd ); Parameters hWnd [in] Handle to the window for which to retrieve the input context. Return Values Returns the handle to the input context.Res An application should routinely use this function to retrieve the current input context before attempting to access information in the context.
The ImmGetContext function retrieves the input context associated with the specified window.HIMC ImmGetContext(
HWND hWnd
);
Parameters
hWnd
[in] Handle to the window for which to retrieve the input context.
Return Values
Returns the handle to the input context.Res
An application should routinely use this function to retrieve the current input context before attempting to access information in the context.