CAPEDIT Control (Windows CE 5.0)

Send Feedback

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.

#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

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

See Also

Edit Boxes Reference | SHInitExtraControls | CreateWindow | CreateWindowEx

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.