ImeSetActiveContext

BOOL ImeSetActiveContext(HIMC hIMC , BOOL fFlag)
 

Activates or deactivates an input context and notifies the IME of the newly active input context. The IME can use the notification for initialization.

·    If successful, the return value is TRUE. Otherwise, it is FALSE.

hIMC
Input context to be activated or deactivated.
fFlag
TRUE if activated, FALSE if deactivated.