This function performs operations relating to the input panel, including getting or setting state information and communicating to the system the input attributes of the caller.
At a Glance
Header file: | imm.h |
Versions: | Japanese version 2.0 |
Syntax
BOOL ImmSIPanelState(UINT dwCmd, LPVOID pValue);
Parameters
dwCmd
[in] Specifies the operation that is to be performed by ImmSiPanelState. The following operations are defined:
Value | Description |
SIP_QUERY_LOCATION | Query the location of input panel. pValue is the pointer to RECT that stores the location of input panel in screen coordinates. |
SIP_QUERY_STATE | Query the state of input panel. input panel can be in one of two states: hardware keyboard present and hardware keyboard not present. The pValue parameter is the pointer to DWORD, which can be either SIP_STATE_HDKB or SIP_STATE_NOHDKB. |
SIP_SET_LOCATION | Set the location of the input panel. pValue is the pointer to POINT which is the new location of the input panel. |
SIP_INPUT_ATTRIBUTES | Describe the caller’s input attributes for the input panel. The pValue parameter can contain one of the following values: |
•SIP_INPUT_NUMERIC | |
•SIP_INPUT_ALPHANUMERIC | |
•SIP_INPUT_HIRAGANA | |
•SIP_INPUT_KATAKANA | |
•SIP_INPUT_EVERYTHING | |
•SIP_INPUT_HALFWIDTH | |
•SIP_INPUT_FULLWIDTH |
pValue
[in] Pointer to parameters associated with the operation specified in the dwCmd parameter.
Return Values
TRUE indicates success. FALSE indicates failure.
Remarks
This function is supported only for Windows CE Japanese version 2.0.