Share via


CAPEDIT Control

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Edit Boxes Reference
SHInitExtraControls
CreateWindow
CreateWindowEx