• Windows SDK中的标准控件和通用控件



    Windows标准控件,标准控件总是可用的。控件包括:静态控件、按钮控件、编辑框控件、列表框控件、组合框控件,滚动条等如表所示。
    Windows标准控件的类型
    Static
    Group Box
    Button
    Check Box
    Radio Button
    Edit
    ComboBox
    ListBox

    Windows通用控件,可执行代码都在Comctrl32.dll中实现,相关的C++原型声明在commctrl.h

    列表如下:
    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

    Rich-Edit控件是标准控件,不是通用控件,但可执行代码在 Richedxx.dll中分三个版本发布



    在使用通用控件时,要确保该库已经载入,所以得在使用通用控件之前先添加一下语句:
        INITCOMMONCONTROLSEX icex;
        icex.dwSize = sizeof(INITCOMMONCONTROLSEX);
        icex.dwICC = ICC_WIN95_CLASSES;
        InitCommonControlsEx(&icex);

    The set of bit flags that indicate which common control classes will be loaded from the DLL. This can be a combination of the following values.
    ICC_ANIMATE_CLASS
        Load animate control class.
    ICC_BAR_CLASSES
        Load toolbar, status bar, trackbar, and ToolTip control classes.
    ICC_COOL_CLASSES
        Load rebar control class.
    ICC_DATE_CLASSES
        Load date and time picker control class.
    ICC_HOTKEY_CLASS
        Load hot key control class.
    ICC_INTERNET_CLASSES
        Load IP address class.
    ICC_LINK_CLASS
        Load a hyperlink control class.
    ICC_LISTVIEW_CLASSES
        Load list-view and header control classes.
    ICC_NATIVEFNTCTL_CLASS
        Load a native font control class.
    ICC_PAGESCROLLER_CLASS
        Load pager control class.
    ICC_PROGRESS_CLASS
        Load progress bar control class.
    ICC_STANDARD_CLASSES
        Load one of the intrinsic User32 control classes. The user controls include button, edit, static, listbox, combobox, and scrollbar.
    ICC_TAB_CLASSES
        Load tab and ToolTip control classes.
    ICC_TREEVIEW_CLASSES
        Load tree-view and ToolTip control classes.
    ICC_UPDOWN_CLASS
        Load up-down control class.
    ICC_USEREX_CLASSES
        Load ComboBoxEx class.
    ICC_WIN95_CLASSES
        Load animate control, header, hot key, list-view, progress bar, status bar, tab, ToolTip, toolbar, trackbar, tree-view, and up-down control classes.

    靓点博客 http://www.cnblogs.com/mlog 或 http://blog.csdn.net/cml2030
  • 相关阅读:
    oc结构
    iOS分类
    iOS协议
    缓存无底洞现象
    数据库备份,恢复
    PHP邮件发送库:Swiftmailer
    PHP分页组件:Paginator
    PHP验证码类
    PHP日期和时间处理组件-Carbon
    composer的一些操作
  • 原文地址:https://www.cnblogs.com/mlog/p/2456365.html
Copyright © 2020-2023  润新知