Windows Common Controls

Source: Internet
Author: User

Windows Common Controls

The Win32 API itself provides many of the most common controls under Windows, called Common controls. These controls, unlike buttons, ComboBox and other controls, are not implemented in User32.dll, but are implemented in Comctrl32.dll, and the associated C + + prototype is declared in Commctrl.h.

Therefore, when writing a Windows window application using the Win32 API, if you use common Controls on the interface, you must include the Comctrl32.lib library in the link options and call InitCommonControls when the program is initialized ( ) function to ensure that the control is loaded. The InitCommonControls () function is declared in commctrl.h, so the header file needs to be included in the program.

The Common controls list is as follows:
Animation
ComboBoxEx
Date_and_time_picker
Drag_list_box
Flat_scroll_bar
Header
HotKey
ImageList
IPAddress
List_view
Month_calendar
Pager
Progress_bar
Property_sheets
Rebar
Status Bars
Syslink
Tab
Toolbar
ToolTip
Trackbar
Treeview
Up_and_down

Windows Common Controls

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.