Windows Controls

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.

The common controls overview documentation describes the common controls delivered in Microsoft Windows and the programming elements used to create and manipulate them.

The following table lists the Windows controls.

ControlDescription
AnimationA window that displays an Audio-Video Interleaved (AVI) clip.
ButtonNotifies the parent window when the user selects the control.
Combo BoxA combination of a list box and an edit control, enabling the user to select or add items.
ComboBoxExAn extension of the combo box control that provides native support for item images.
Date and Time PickerA simple and intuitive interface through which to exchange date and time information with a user.
Drag List BoxA type of list box that enables the user to drag items from one position to another.
EditA window within the user can view and edit text.
Flat Scroll BarA scroll bar with a more customizable appearance than standard scroll bars.
HeaderA window that is usually positioned above columns of text or numbers. It contains a title for each column, and it can be divided into parts.
Hot KeyA window that enables the user to enter a combination of keystrokes to be used as a hot key.
Image ListsA collection of images of the same size, each of which can be referred to by its index.
IP AddressA window in which the user can enter an Internet Protocol (IP) address in an easily understood format.
List BoxA simple list from which the user can select one or more items.
List-ViewA list box that provides several ways to arrange and display the items.
Month CalendarA calendar that enables the user to select a date or dates.
PagerA set of arrow buttons that enable the contents of a control window to be scrolled.
Progress BarAn animated control that indicates the progress of a lengthy operation.
Property SheetA dialog box that enables the user to view and edit the properties of an item. Pages may be viewed as tabs, or in succession as a wizard.
ReBarA container for child windows. An application assigns child windows, which are often other controls, to a rebar control band.
Rich EditA window in which the user can view and edit text with character and paragraph formatting. It can also contain embedded COM objects.
Scroll BarA control that enables the user to choose the direction and distance to scroll information in a related window.
StaticNon-interactive text, including labels for other controls.
Status BarA horizontal window at the bottom of a parent window in which an application can display various kinds of status information.
SysLinkA hypertext link.
TabA selectable page, analogous to a divider in a notebook. By using a tab control, an application can define multiple pages for the same area of a window or dialog box.
Task DialogA more powerful alternative to simple message boxes, incorporating elements such as custom buttons, radio buttons, hyperlinks, and progress bars.
ToolbarA window that contains one or more buttons and possibly other controls.
TooltipA message that appears automatically when the mouse pointer hovers over a tool.
TrackbarA slider with optional tick marks, used to set a value within a range.
Tree-ViewA hierarchical list of items, such as the headings in a document or the files and directories on a disk.
Up-DownA pair of arrow buttons that the user can click to increment or decrement a value, such as a scroll position or a number displayed in a companion control.
Page view tracker