Occurs when the Soft Input Panel (SIP) is opened.
Event ID |
Objects |
---|---|
pbm_sipup |
Window |
Argument |
Description |
---|---|
flags |
UnsignedLong by value. Values are:
Flags is the sum of all SIP states and statuses. |
Long. Return code choices (specify in a RETURN statement):
0 Continue processing
Because flags is a sum, you can determine the SIP state and status by subtracting the largest values one by one and checking the value that remains. For example:
If flags is 4, the SIP is locked (4), but not docked or visible.
If flags is 5, the SIP is locked (4) and visible (1), but not docked.
If flags is 7, the SIP is locked (4), docked (2), and visible (1).
In the window’s SipUp event, this code returns the SIP type:
SIPIMType sType
sType = GetSIPType()