The system provides a number of public window classes that support menus, frame windows, control windows, and dialog windows. An application can create a window of a system-defined public window class by specifying one of the following class name constants in a call to WinCreateWindow:
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Class Name ³Description ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_BUTTON ³Consists of buttons and boxes the user can ³ ³ ³select by clicking the pointing device or ³ ³ ³using the keyboard. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_COMBOBOX ³Creates a combination-box control, which ³ ³ ³combines a list-box control and an ³ ³ ³entry-field control. It enables the user to ³ ³ ³enter data either by typing in the entry ³ ³ ³field or by choosing from the list in the ³ ³ ³list box. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_CONTAINER ³Creates a control in which the user can group³ ³ ³objects in a logical manner. A container can³ ³ ³display those objects in various formats or ³ ³ ³views. The container control supports drag ³ ³ ³and drop so the user can place information in³ ³ ³a container by simply dragging and dropping. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_ENTRYFIELD ³Consists of a single line of text that the ³ ³ ³user can edit. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_FRAME ³A composite window class that can contain ³ ³ ³child windows of many of the other window ³ ³ ³classes. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_LISTBOX ³Presents a list of text items from which the ³ ³ ³user can make selections. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_MENU ³Presents a list of items that can be ³ ³ ³displayed horizontally as menu bars, or ³ ³ ³vertically as pull-down menus. Usually menus³ ³ ³are used to provide a command interface to ³ ³ ³applications. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_NOTEBOOK ³Creates a control for the user that is ³ ³ ³displayed as a number of pages. The top page³ ³ ³is visible, and the others are hidden, with ³ ³ ³their presence being indicated by a visible ³ ³ ³edge on each of the back pages. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_SCROLLBAR ³Consists of window scroll bars that let the ³ ³ ³user scroll the contents of the associated ³ ³ ³window. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_SLIDER ³Creates a control that is usable for ³ ³ ³producing approximate (analog) values or ³ ³ ³properties. Scroll bars were used for this ³ ³ ³function in the past, but the slider provides³ ³ ³a more flexible method of achieving the same ³ ³ ³result, with less programming effort. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_SPINBUTTON ³Creates a control that presents itself to the³ ³ ³user as a scrollable ring of choices, giving ³ ³ ³the user quick access to the data. The user ³ ³ ³is presented only one item at a time, so the ³ ³ ³spin button should be used with data that is ³ ³ ³intuitively related. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_STATIC ³Simple display items that do not respond to ³ ³ ³keyboard or pointing device events. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_TITLEBAR ³Displays the window title or caption and lets³ ³ ³the user move the window's owner. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³WC_VALUESET ³Creates a control similar in function to ³ ³ ³radio buttons but provides additional ³ ³ ³flexibility to display graphical, textual, ³ ³ ³and numeric formats. The values set with ³ ³ ³this control are mutually exclusive. ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Each system-defined public window class has a corresponding set of window styles that an application can use to customize a window of that class. For example, a window created with the WC_BUTTON class has styles that include BS_PUSHBUTTON and BS_CHECKBOX. Window styles enable you to customize aspects of a window's behavior and appearance. The application specifies the window styles in the WinCreateWindow function.