Compartilhar via


WC_SIPPREF (Windows CE 5.0)

Send Feedback

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"

Remarks

WC_SIPPREF implements the correct input panel behavior for each of the following controls:

  • Edit box
  • CAPEDIT
  • Combo box (CBS_DROPDOWN style only)
  • Date and time picker 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

Requirements

OS Versions: Windows CE .NET 4.2 and later
Header: Aygshell.h.
Link Library: Aygshell.lib.

See Also

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.