继承CButton类
class CMyButton : public CButton
void CMyButton::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
{
// TODO: Add your code to draw the specified item
//重新绘制按钮
}
void CMyButton::PreSubclassWindow()
{
// TODO: Add your specialized code here and/or call the base class
//判断按钮为自绘按钮