Windows Controls
Purpose
A control is a child window that an application uses in conjunction with another window to enable user interaction. Controls are most often used within dialog boxes, but they can also be used in other windows. Controls within dialog boxes provide the user with a way to type text, choose options, and initiate actions. Controls in other windows provide a variety of services, such as letting the user choose commands, view status, and view and edit text. This documentation describes the controls provided by Windows and the programming elements used to create and manipulate them.
For a list of all Windows controls, including a link to comprehensive overview and reference information for each control, see Control Library.
Developer audience
Controls are designed for use by C/C++ developers and UI designers. In general, developers need a moderate level of understanding about UI programming concepts, Windows API programming, and Unicode.
Run-time requirements
Support for controls is provided by User32.dll and Comctl32.dll. For more information, see Common Control Versions.
In this section
| Topic | Description |
|---|---|
|
Provides general information that is common to all controls that are supported by Comctl32.dll. | |
|
Explains how Windows messages are used to communicate with controls. | |
|
Describes various ways of creating custom controls. | |
|
Describes a way to customize a control by changing its features or adding new ones. | |
|
Describes a service, provided by some controls, that applications can use to customize various aspects of the control's appearance. | |
|
Provides information about security considerations related to the Windows controls. | |
|
Provides overviews and reference information about each control supported by User32.dll and Comctl32.dll. | |
|
Provides reference information about programming elements that apply to multiple controls, not just to a specific control. | |
|
Describes Control Spy, a tool that helps developers understand common controls. | |
|
Describes how the appearance of controls can change depending on the visual style chosen by the user. | |
|
Discusses the format of Theme (.theme) files used in Windows 7 and Windows Vista. |