Compartir a través de


CAPEDIT Control (Windows Embedded CE 6.0)

1/6/2010

This control simplifies the process of entering long strings of characters by capitalizing the first letter of the first word or the first letter of all words the user inputs into an edit control.

Syntax

#define WC_CAPEDIT L"CAPEDIT"

Remarks

CAPEDIT is most often used in edit controls for entries such as names and addresses.

To use the CAPEDIT control, initialize the control with the SHInitExtraControls function. Then, declare the control class as WC_CAPEDIT in the CreateWindow or CreateWindowEx function. Use the CEM_UPCASEALLWORDS or CEM_ENABLEUPCASE messages to determine the functionality of the control.

Requirements

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

See Also

Reference

CapEdit Controls Reference
Edit Boxes Reference
SHInitExtraControls
CreateWindow
CreateWindowEx