Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This control is used to implement default input panel behavior in a dialog box automatically. That is, in general, any control that runs with the AYGShell extensions and that accepts text input should display the input panel when the control gains focus and hide the input panel when the control loses focus.
#define WC_SIPPREF L"SIPPREF"
WC_SIPPREF implements the correct input panel behavior for each of the following controls:
When edit controls use WC_SIPPREF, they have automatic context menu support for Cut, Copy, Paste, and so on.
When creating a WC_SIPPREF control you should add it as the last control in your dialog box template.
When the WC_SIPPREF control is created, it enumerates all sibling controls. Initialize WC_SIPPREF prior to using it by first calling the SHInitExtraControls function.
The following code example shows a WC_SIPPREF control:
CONTROL "",-1,WC_SIPPREF, NOT WS_VISIBLE,-10,-10,5,5
OS Versions: Windows CE .NET 4.2 and later
Header: Aygshell.h.
Link Library: Aygshell.lib.
AYGShell Controls | SHInitExtraControls | Edit Boxes Reference | CAPEDIT Control | Combo Boxes Reference | Date and Time Picker Controls Reference
Send Feedback on this topic to the authors
Please sign in to use this experience.
Sign in