我对“公共(public)控件”一词感到困惑,Windows 控件是否分为公共(public)控件和非公共(public)控件?
我尝试搜索常用控件列表,但没有找到任何内容,如果 Windows 中不是所有控件都是常用控件,我可以获取常用控件列表吗?
最佳答案
简单地说,“通用控件”是由 comctl32.dll
实现的控件,它首先出现在 Windows 95 中。它们是:
- Animation
- ComboboxEx
- Date/time picker
- Header
- Hotkey
- Hyperlink (Syslink)
- IP address
- Listview
- Pager
- Progress bar
- Rebar
- Status bar
- Tab
- Toolbar
- Tooltip
- Trackbar
- Treeview
- Up/down
它们与 user32.dll
实现的控件不同,后者是“原始”Windows 控件(可追溯到 16 位 Windows):BUTTON
、编辑
、LISTBOX
、COMBOBOX
、STATIC
和SCROLLBAR
。
关于winapi - Windows 中的所有控件都称为通用控件吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26882415/