文件名称:xpbuttons
介绍说明--下载内容均来自于网络,请自行研究使用
如果你希望能够在自己的程序中表现出新意,那么你一定不会仅仅满足于MFC提供那些标准控件。这时,我们就必须自己另外多做些工作了。就改变控件外观这一点来说,主要是利用控件的自绘功能(Owner Draw)实现的。本篇将和各位一起定义一个XP风格的CXPButton按钮类,目的不在于介绍CXPButton类的使用技巧,而在于向各位阐述实现自绘按钮的方法。当然如果你觉得CXPButton有用的话,也可以把它的源文件保存下来,直接加入到自己的项目中。-if you hope to be able to own procedures demonstrated new and Then you will not only satisfy those standards for MFC controls. At this time, we must do more for himself the work. Change the appearance of controls on this point, the main use is drawn from the control function (Owner Draw) achievable. This will join you definition of an XP style button CXPButton category, not intended to introduce the use CXPButton type skills, but to explain to you realize decorated button method. Of course, if you think that CXPButton useful, it can also be the source document preservation, directly into their projects.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
XPButton.doc
XPButton.zip
XPButton.zip