资 源 简 介
一、用ClassWizard生成一个新类,名字假设起为CMyButton,基类选为CButton;
二、在新类中用ClassWizard添加函数:PreSubclassWindow()、DrawItem()、OnMouseMove()、OnLButtonDown()、OnLButtonUp();-one with ClassWizard generate a new category, the names of hypotheses for CMyButton, elected CButton base class; Two of the new type used ClassWizard added function : PreSubclassWindow (), DrawItem (), OnMouseMove (), OnLButtonDown (), OnLButtonUp ();
文 件 列 表
OwnDrawButton
res
Debug
MyButton.cpp
MyButton.h
OwnDrawButton.aps
OwnDrawButton.clw
OwnDrawButton.cpp
OwnDrawButton.dsp
OwnDrawButton.dsw
OwnDrawButton.h
OwnDrawButton.ncb
OwnDrawButton.plg
OwnDrawButton.rc
OwnDrawButtonDlg.cpp
OwnDrawButtonDlg.h
PluckButton.cpp
PluckButton.h
ReadMe.txt
resource.h
StdAfx.cpp
StdAfx.h
TitleBox.cpp
TitleBox.h
几个按钮类
MyButton.cpp
自己动手做按钮.txt
OwnDrawButton.opt
几个按钮类