The control's window class, or control class, defines the control's window procedure and default attributes. You specify a control class when creating the control, by including the class name (for example, BUTTON) in the lpClassName parameter of the CreateWindow function.
Windows provides the following built-in control classes:
Class | Description |
BUTTON | Produces a small, labeled window that the user can choose in order to generate yes or no, on or off types of input. |
EDIT | Produces a window in which the user can type and edit text (called an edit control). |
LISTBOX | Produces a window that contains a list of names from which the user can select one or more names. |
COMBOBOX | Produces a combination control consisting of an edit control linked with a list box. The user can select items from the list box or type in the edit control or do both. |
SCROLLBAR | Produces a window that looks and functions like a scroll bar in a window. |
STATIC | Produces a small window that contains text or simple graphics. Static controls are often used to label other controls or to separate a group of controls. |