Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
Type INITCOMMONCONTROLSEX_TYPE dwSize As Long dwICC As Long End Type
Description & Usage
The INITCOMMONCONTROLSEX_TYPE structure tells InitCommonControlsEx which common control classes to register. The structure holds a combination of flags specifying which classes are wanted.
Visual Basic-Specific Issues
Officially, the name of this structure is INITCOMMONCONTROLSEX (all capitals). However, since Visual Basic is case-insensitive, that name conflicts with the InitCommonControlsEx API function. Therefore, it is necessary to give it a different name -- in this case, by appending _TYPE to the end.
Data members.
- dwSize
- The length in bytes of the structure.
- dwICC
- A combination of the following flags specifying which common control classes to register:
- ICC_ANIMATE_CLASS
- The Animate control class.
- ICC_BAR_CLASSES
- The Toolbar, Status Bar, Trackbar, and Tooltip control classes.
- ICC_COOL_CLASSES
- The Rebar control class.
- ICC_DATE_CLASSES
- The Date and Time Picker control class.
- ICC_HOTKEY_CLASS
- The Hot Key control class.
- ICC_INTERNET_CLASSES
- The IP Address control class.
- ICC_LISTVIEW_CLASSES
- The List View and Header control classes.
- ICC_PAGESCROLLER_CLASS
- The Pager control class.
- ICC_PROGRESS_CLASS
- The Progress Bar control class.
- ICC_TAB_CLASSES
- The Tab and Tooltip control classes.
- ICC_TREEVIEW_CLASSES
- The Tree View and Tooltip control classes.
- ICC_UPDOWN_CLASS
- The Up-Down control class.
- ICC_USEREX_CLASSES
- The ComboBoxEx control class.
- ICC_WIN95_CLASSES
- The Animate, Header, Hot Key, List View, Progress Bar, Status Bar, Tab, Tooltip, Toolbar, Trackbar, Tree View, and Up-Down control classes. (In other words, almost all of them.)
Constant Definitions
Const ICC_ANIMATE_CLASS = &H80 Const ICC_BAR_CLASSES = &H4 Const ICC_COOL_CLASSES = &H400 Const ICC_DATE_CLASSES = &H100 Const ICC_HOTKEY_CLASS = &H40 Const ICC_INTERNET_CLASSES = &H800 Const ICC_LISTVIEW_CLASSES = &H1 Const ICC_PAGESCROLLER_CLASS = &H1000 Const ICC_PROGRESS_CLASS = &H20 Const ICC_TAB_CLASSES = &H8 Const ICC_TREEVIEW_CLASSES = &H2 Const ICC_UPDOWN_CLASS = &H10 Const ICC_USEREX_CLASSES = &H200 Const ICC_WIN95_CLASSES = &HFF
Used By
InitCommonControlsEx
Back to the Structure list. Back to the Reference section.
Last Modified: October 29, 2000 This page is copyright © 2000 Paul Kuliniewicz. Copyright Information Revised October 29, 2000 Go back to the Windows API Guide home page. E-mail: vbapi@vbapi.com Send Encrypted E-Mail This page is at http://www.vbapi.com/ref/i/initcommoncontrolsex.html