Predefined Window Classes
The CONTROL statement can be used to define a window control of any class.
Window classes may be user defined of one of a predefined set provided by
the operating system. The following classes are provided in the OS/2 operating
system.
WC_FRAME
Application frame control.
WC_STATIC
WC_BUTTON
Push button, check box or radio button.
WC_COMBOBOX
Combination of an entry field and
list box.
WC_ENTRYFIELD
WC_MLE
Multiple line entry field.
WC_LISTBOX
WC_MENU
Application action bar, menus and popup
menus.
WC_SCROLLBAR
Horizontal or vertical scroll
bar.
WC_TITLEBAR
WC_SPINBUTTON
WC_CONTAINER
WC_SLIDER
Horizontal or vertical slider control.
WC_VALUESET
WC_NOTEBOOK
These controls make up the standard user interface components for applications.
The following example shows a simple listbox control.
CONTROL "", 1, 10, 20, 60, 40, WC_LISTBOX, WS_VISIBLE
[Back: Parent/Child/Owner Relationship]
[Next: Predefined Control Statements]