IMECONTROL
This message is sent to the IM window when an application want to control the IME.
Parameters:
mparam1 : ulControl(ULONG) - Control value. This can be one of the following.
IMC_HIDESTATUSWINDOW :
An application sends this message to IM window to hide the status window. param2 are reserved 0.
IMC_QUERYCANDIDATEPOS :
An application send this message to IM window to query position of the candidate window. param2 contains the pointer to CANDIDATEPOS. This pointer receives a CANDIDATEPOS structure for the position of the candidate window.
IMC_QUERYCONVERSIONANGLE :
An application sends this message to IM window to query writing angle in the conversion window. param2 contains the pointer to GRADIENTL. This pointer receives GRADIENTL structure for the font of the conversion window.
IMC_QUERYCONVERSIONFONT :
An application sends this message to IM window to query information of the font in the conversion window. param2 contains the pointer to FATTRS. This pointer receives FATTRS structure for the font of the conversion window.
IMC_QUERYCONVERSIONFONTSIZE :
An application sends this message to IM window to query size of the font in the conversion window. param2 contains the pointer to SIZEF. This pointer receives SIZEF structure for the font of the conversion window.
IMC_QUERYCONVERSIONWINDOWPOS :
An application sends this message to IM window to query position of the conversion window. param2 contains the pointer to CONVERSIONPOS. This pointer receives CONVERSIONPOS structure for the position of the conversion .
IMC_QUERYIMMODE :
An application sends this message to IM window to query the IM mode. param2 contains the pointer to IMMODE. This pointer receives IMMODE structure for the IM mode(input mode, conversion mode and IME's on/off). Refer to ImQueryIMM the definition.
IMC_QUERYSTATUSWINDOWPOS :
An application sends this message to IM window to query position of the status window. param2 contains the pointer to POINTL. This pointer receives POINTL structure for the position of the status window.
IMC_QUERYSTATUSWINDOWSIZE :
An application sends this message to IM window to query size of the status window. param2 contains the pointer to SIZEL. This pointer receives SIZEL structure for the size of the status window.
IMC_SHOWSTATUSWINDOW :
An application sends this message to IM window to show the status window. param2 is reserved 0.
IMC_SETCANDIDATEPOS :
An application sends this message to IM window to set position of the candidate window. param2 contains the pointer to CANDIDATEPOS of the position of the candidate window.
IMC_SETCONVERSIONANGLE :
An application sends this message to IM window to set the writing angle in the conversion window. param2 contains the pointer to GRADIENTL of the font information of the conversion window.
IMC_SETCONVERSIONFONT :
An application sends this message to IM window to set the font in the conversion window. param2 contains the pointer to FATTRS of the font information of the conversion window.
IMC_SETCONVERSIONFONTSIZE :
An application sends this message to IM window to set the font size in the conversion window. param2 contains the pointer to SIZEF of the font information of the conversion window.
IMC_SETCONVERSIONWINDOWPOS :
An application sends this message to IM window to set position of the conversion window. param2 contains the pointer to CONVERSIONPOS of the conversion window position.
IMC_SETIMMODE :
An application sends this message to IM window to set the IM mode. param2 contains the pointer to IMMODE of the IM mode(input mode, conversion mode and IME's on/off). Refer to ImQueryIMMode for the definition.
IMC_SETSTATUSWINDOWPOS :
An application sends this message to IM window to set the position of the status window. param2 contains the pointer to POINTL of the status window position.
param2 : This depends on each control value.
Returns:
Zero is successful. Others are errors.