资 源 简 介
自从Windows操作系统出现以后,在应用程序中进行人机交互的思想和手段便发生了根本性的改变,计算机的界面变得友好精彩。一个程序的好坏很大程 度上决定于人机交互的方便程度。当前,大多数程序的标题栏都千篇一律,如何让自己的程序与众不同是每个程序员的梦想,但改变标题栏的内容的确有相当的难 度。该篇文章向你介绍如何在标题栏上添加图标按钮,而且当鼠标经过和点击该图标时,鼠标将有不同的反应。请按照下面的步骤实现。
第一步:打开VC编程环境,生成一个新的基于单文档的工程temp,所有的选项都取默认值,下面,我们就在此工程的标题栏上生成三个按钮图标。
第二步:下载资源文件,共有三个文件:CaptionButton.cpp、CaptionButton.h和Thunk.h。将这三个文件添加到工程中(添加方法不必细说了吧)。
-since the emergence of the Windows operating system. the application process for HCI thinking and means has undergone a fundamental change, computer-friendly interface become brilliant. The quality of a process largely depends on the man-machine interaction convenience. Currently, the majority of procedures are stereotyped column heading, and how to help their own procedures are different for each programmer"s dream, but to change the column headings as indeed it is quite difficult. The article to tell you how to add Biaodilanshang icon button, but when the mouse hovers over the icon and click, mouse will have d