This method is implemented for the IM to receive information about the size, placement, and docked status of the input panel.
At a Glance
Header file: | Sip.h |
Windows CE Versions: | 2.12 and later |
Syntax
HRESULT ReceiveSipInfo( SIPINFO *psi );
Parameters
psi
Pointer to a SIPINFO structure. Because this method only provides information regarding the size, placement and docked status of the input panel, only the rcSipRect member and the SIPF_DOCKED flag, if set, of the fdwFlags member are valid in this SIPINFO structure.
Return Values
An appropriate HRESULT value is returned.
Remarks
The input panel calls this method to provide the IM with the current size, placement, and docked status of the input panel. This method is called whenever the user, an application, or the IM changes the input panel state. The IM should respond to these new values by changing its own state. However, it could also ignore these values. For example, a developer can implement an IM that is larger or smaller than the standard size for an IM. These values have either been selected by the user, or have been recommended as expected input panel values for that platform.
The input panel also calls this method during the initialization of the IM, along with Select, GetInfo, and RegisterCallback.
See Also
IInputMethod2::GetInfo, IInputMethod2::RegisterCallback, IInputMethod2::Select, SIPINFO