Window Classes
This section lists the window class names provided by the common control library.
Constants
- ANIMATE_CLASS
- Creates animation controls. These controls silently display an audio video interleaved (AVI) clip.
- DATETIMEPICK_CLASS
- Creates date and time picker controls. These controls provide a simple and intuitive interface to exchange date and time information with a user.
- HOTKEY_CLASS
- Creates hot key controls. These controls make it easy for the user to define hot keys.
- LINK_CLASS
- Creates syslink controls. These controls are used with links.
- MONTHCAL_CLASS
- Creates month calendar controls. These controls provide a simple and intuitive way for a user to select a date from a familiar interface.
- NATIVEFNTCTL_CLASS
- Creates native font controls. These controls are used with native fonts.
- PROGRESS_CLASS
- Creates progress bars. These controls indicate the progress of a lengthy operation.
- REBARCLASSNAME
- Creates rebar controls. These controls act as a container for child windows.
- STANDARD_CLASSES
- Creates intrinsic User32 controls, such as button, edit, and scrollbar.
- STATUSCLASSNAME
- Creates status windows. These controls display status information in a horizontal window.
- TOOLBARCLASSNAME
- Creates toolbars. These controls contain buttons that carry out menu commands.
- TOOLTIPS_CLASS
- Creates ToolTip controls. These controls display a small pop-up window containing a line of text that describes the purpose of a tool in an application.
- TRACKBAR_CLASS
- Creates trackbars. These controls let the user select from a range of values by moving a slider.
- UPDOWN_CLASS
- Creates up-down controls. These controls combine a pair of arrows with an edit control. Clicking the arrows increments or decrements the value in the edit control.
- WC_COMBOBOXEX
- Creates ComboBoxEx controls. These controls provide an extension of the combo box control that provides native support for item images.
- WC_HEADER
- Creates header controls. These controls display headings at the top of columns of information and let the user sort the information by clicking the headings.
- WC_IPADDRESS
- Creates IP address controls. These controls are similar to an edit control, but they enable you to enter a numeric address in Internet protocol (IP) format.
- WC_LISTVIEW
- Creates list-view controls. These controls display a collection of items, each consisting of an icon and a label, and provide several ways to arrange the items.
- WC_PAGESCROLLER
- Creates pager controls. These controls are used to contain and scroll another window.
- WC_TABCONTROL
- Creates tab controls. These controls define multiple pages for the same area of a window or dialog box. Each page consists of a set of information or a group of controls that an application displays when the user selects the corresponding tab.
- WC_TREEVIEW
Creates tree-view controls. These controls display a hierarchical list of items. Each item consists of a label and an optional bitmap.System Classes
A system class is a window class registered by the system. Many system classes are available for all processes to use, while others are used only internally by the system. Because the system registers these classes, a process cannot destroy them.
Microsoft Windows 95/Windows 98/Windows Millennium Edition (Windows Me): The system registers the system classes when it starts.
Microsoft Windows NT/Windows 2000/Windows XP: The system registers the system classes for a process the first time one of its threads calls a User or a Windows Graphics Device Interface (GDI) function.
Each application receives its own copy of the system classes. All 16-bit Windows-based applications in the same VDM share system classes, just as they do on 16-bit Windows.
The following table describes the system classes that are available for use by all processes.
Class Description Button The class for a button. ComboBox The class for a combo box. Edit The class for an edit control. ListBox The class for a list box. MDIClient The class for an MDI client window. ScrollBar The class for a scroll bar. Static The class for a static control. The following table describes the system classes that are available only for use by the system. They are listed here for completeness sake.
Class Description ComboLBox The class for the list box contained in a combo box. DDEMLEvent Windows NT/Windows 2000/Windows XP: The class for Dynamic Data Exchange Management Library (DDEML) events. Message Windows 2000/Windows XP: The class for a message-only window. #32768 The class for a menu. #32769 The class for the desktop window. #32770 The class for a dialog box. #32771 The class for the task switch window. #32772 Windows NT/Windows 2000/Windows XP: The class for icon titles.
#ifndef NOTREEVIEW
#ifdef _WIN32
#define WC_TREEVIEWA "SysTreeView32"
#define WC_TREEVIEWW L"SysTreeView32"
#ifdef UNICODE
#define WC_TREEVIEW WC_TREEVIEWW
#else
#define WC_TREEVIEW WC_TREEVIEWA
#endif
#else
#define WC_TREEVIEW "SysTreeView"
#endif
浙公网安备 33010602011771号