WC_SIPPREF (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

#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

Header aygshell.h
Library aygshell.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

AYGShell Controls
SHInitExtraControls
Edit Boxes Reference
CAPEDIT Control
Combo Boxes Reference
Date and Time Picker Controls Reference