09 2016 档案

Creating Dialogbased Windows Application (4) / 创建基于对话框的Windows应用程序(四)Edit Control、Combo Box的应用、Unicode转ANSI、Open File Dialog、文件读取、可变参数、文本框自动滚动 / VC++, Windows
摘要:之前的介绍中,我们用到了Button、Static Text、Checkbox这三个控件。这一节中我们将学习使用Edit Control(编辑框)、Combo Box控件,其中还包括Unicode转ANSI的方法、创建Open File Dialog、 读取文件、可变参数(这里用于生成日志)、文本框自动滚动的功能等。 阅读全文

posted @ 2016-09-19 18:24 兰亭集 阅读(790) 评论(0) 推荐(0)

Creating Dialogbased Windows Application (3) / 创建基于对话框的Windows应用程序(三)Checkbox的应用、窗体置顶、设置图标 / VC++, Windows
摘要:上一节创建的窗体应用程序中,我们用到了Button和StaticText这两个控件。这一节中我们将学习使用Checkbox控件,并实现将窗体置顶和设置图标的功能。 阅读全文

posted @ 2016-09-18 15:52 兰亭集 阅读(718) 评论(0) 推荐(0)

Creating Dialogbased Windows Application (2) / 创建基于对话框的Windows应用程序(二)Button的应用、新建子窗体 / VC++, Windows
摘要:可以发现上一节创建的窗体中,点击OK和Cancel两个按钮是没有任何反应的。现在我们来为他们添加退出对话框的功能,并演示如何新建子窗体。 阅读全文

posted @ 2016-09-18 14:30 兰亭集 阅读(710) 评论(0) 推荐(0)

Creating Dialogbased Windows Application (1) / 创建基于对话框的Windows应用程序(一)新建窗体 / VC++, Windows
摘要:从新建项目起一步步演示如何创建一个基于对话框的Windows应用程序。 阅读全文

posted @ 2016-09-14 17:39 兰亭集 阅读(2409) 评论(1) 推荐(0)

Creating Context Menu / 创建上下文菜单项 / VC++, Windows, DLL, ATL, COM
摘要:A context menu extension is a COM object implemented as an in-proc server. The context menu extension must implement the IShellExtInit and IContextMenu interfaces. A context menu extension is instantiated when the user displays the context menu for an object of a class for which the context menu extension has been registered. 从新建项目起一步步演示如何创建一个上下文菜单项,最终将生成一个.dll文件并使之生效。 阅读全文

posted @ 2016-09-09 17:18 兰亭集 阅读(1262) 评论(0) 推荐(0)

Creating Icon Overlay Handlers / 创建图标标记 Handlers (续) / VC++, Windows, DLL, ATL, COM
摘要:从新建项目起一步步演示如何创建一个图标标记 Handlers,最终将生成一个.dll文件并使之生效。 阅读全文

posted @ 2016-09-08 17:23 兰亭集 阅读(990) 评论(0) 推荐(0)

Creating Icon Overlay Handlers / 创建图标标记 Handlers (翻译自MSDN) / VC++, Windows, DLL, ATL, COM
摘要:Icon overlays are small images placed at the lower-left corner of the icon that represents a Shell object in Windows Explorer or on the desktop. They are used to add some extra information to the object's normal icon. A commonly used icon overlay is the small arrow that indicates that a file or folder is actually a link. You can specify custom icon overlays for Shell objects by implementing and registering an icon overlay handler. 阅读全文

posted @ 2016-09-07 16:19 兰亭集 阅读(1709) 评论(0) 推荐(0)

导航