Win32 Reference
Common Control Classes
The second group of controls that you can use are called common controls. To
compile a program using these controls you will need to link to comctl32.lib (in
Dev-C++ this means adding -lcomctl32 to the linker options) and include
commctrl.h. You will also have to make a call to InitCommonControls(void) before
you can create the controls. These class names are all defines for the strings
names so speech marks should not be
used.
i.e.
CreateWindowEx(0, TOOLBARCLASSNAME, . . .
| ANIMATE_CLASS |
HOTKEY_CLASS |
PROGRESS_CLASS |
| TOOLTIPS_CLASS |
TOOLBARCLASSNAME |
UPDOWN_CLASS |
| WC_TREEVIEW |
WC_HEADER |
DATETIMEPICK_CLASS |
| STATUSCLASSNAME |
TRACKBAR_CLASS |
WC_LISTVIEW |
| WC_TABCONTROL |
MONTHCAL_CLASS |
REBARCLASSNAME |
Copyright © 1998 - 2010 Alan Baylis, All Rights Reserved