Controls are predefined classes of child windows that any application can
use for input and output. These control classes are predefined:
WC_BUTTON
Consists of buttons and boxes that the
operator can select by clicking the pointing device or using the keyboard.
These messages are described in Button
Control Window Processing.
WC_CIRCULARSLIDER
Consists of a visual component whose specific purpose
is to allow a user to set, display, or modify a value by moving the slider
arm around the circular slider dial. Messages are described in Circular
Slider Control Window Messages.
WC_COMBOBOX
Consists of an entry field control and a list box
control merged into a single control. The list, which is usually limited
in size, is displayed below the entry field and offset one dialog box unit
to its right. These messages are described in Combination-Box
Control Window Processing.
WC_CONTAINER
Consists
of a visual component whose specific purpose is to hold objects such as
executable programs, word processing files, graphics images, and database
records. Messages are described in Container
Control Window Processing.
WC_ENTRYFIELD
WC_FRAME
WC_LISTBOX
WC_MENU
Presents
a list of items, which may be text displayed horizontally as action bars
or vertically as pull-down menus. Menus are usually used to provide a command
interface to applications. These messages are described in Menu
Control Window Processing.
WC_MLE
Consists
of a rectangular window that displays multiple lines of text that the operator
can edit. When it has the focus, the cursor marks the current insertion
or replacement point. These messages are described in Multi-Line
Entry Field Control Window Processing.
WC_NOTEBOOK
Consists of a visual component whose specific purpose
is to organize information on individual pages so that a user can find and
display that information quickly and easily. Messages are described in Notebook
Control Window Processing.
WC_SCROLLBAR
Consists
of window scroll bars that allow the operator to make a request to scroll
the contents of an associated window. These messages are described in Scroll
Bar Control Window Processing.
WC_SLIDER
Consists
of a visual component whose specific purpose is to allow a user to set,
display, or modify a value by moving the slider arm along the slider shaft.
Messages are described in Slider
Control Window Processing.
WC_SPINBUTTON
WC_STATIC
WC_TITLEBAR
WC_VALUESET
Consists
of a visual component whose specific purpose is to allow a user to select
one choice from a group of mutually exclusive choices. A value set can use
graphical images (bit maps or icons), as well as colors, text, and numbers,
to represent the items that a user can select. Messages are described in
Value Set Control Window Processing.
Owner-Notification Messages
Controls are useful because they notify their owners when significant events
take place. A control notifies its owner by sending a WM_CONTROL message
or by posting a WM_COMMAND or WM_HELP message.