InitCommonControls()
2016-09-20 10:39
330 查看
函数InitCommonControls是个空函数,不做任何事情。
但如果你调用了该函数,则链接器会将你的程序链接到comctl32.lib,然后在程序启动时,会加载comctl32.dll。
真正初始化的工作是在该库的入口点处做的,在这里会注册通用控件窗口类。
然后应用程序就可以创建控件窗口,就象创建其它的子窗口控件一样。
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
如果一个运行在 Windows XP 上的应用程序清单指定要
使用 ComCtl32.dll 版本 6 或更高版本来启用可视化方式,
则需要 InitCommonControls()。否则,将无法创建窗口。
comctl32.dll是Windows应用程序公用GUI图形用户界面模块。
但如果你调用了该函数,则链接器会将你的程序链接到comctl32.lib,然后在程序启动时,会加载comctl32.dll。
真正初始化的工作是在该库的入口点处做的,在这里会注册通用控件窗口类。
然后应用程序就可以创建控件窗口,就象创建其它的子窗口控件一样。
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
如果一个运行在 Windows XP 上的应用程序清单指定要
使用 ComCtl32.dll 版本 6 或更高版本来启用可视化方式,
则需要 InitCommonControls()。否则,将无法创建窗口。
comctl32.dll是Windows应用程序公用GUI图形用户界面模块。
相关文章推荐
- InitCommonControls()
- InitCommonControls
- InitCommonControls和InitCommonControlsEx
- InitCommonControls和InitCommonControlsEx
- 记下来 关于InitCommonControls()
- MFC - InitCommonControls
- InitCommonControls和InitCommonControlsEx
- MFC Initilization of General Service Control about InitCommonControls和InitCommonControlsEx(MFC 通用控件的初始化InitCommonControls和InitCo
- InitCommonControls和InitCommonControlsEx
- InitCommonControls和InitCommonControlsEx
- InitCommonControlsEx
- InitCommonControlsex
- What the hell is InitCommonControlEx doing?
- [Programming Visual C++]Chapt six-Windows Common Controls
- org.eclipse.graphiti.ui.editor.DiagramEditorInput.<init>(Lorg/eclipse/emf/common/util/URI;Ljava/lang
- [翻译]-Windows CE 程序设计 (3rd 版)--5.3 公共控件(十三) ing---------Other Common Controls
- InitCommonControlsEx调用失败,manifest作怪
- MFC通用控件初始化 —— InitCommonControlsEx Function
- [翻译]Writing Custom Common Controls 编写自定义控件
- Control Spy Exposes the Clandestine Life of Windows Common Controls