用MFC自绘按钮,处理的消息包括WM_MOUSEHOVER、WM_MOUSELEAVE、WM_LBUTTONDOWN
//PicButton.hclassCPicButton:publicCButton{//Constructionpublic:CPicButton();BOOLbTrackLeave;BOOLbBottonDown;DWORDdwMouseStatus[2];typedefenumtagStatus{emNormal,emHover}tStatus;tStatustIndex;//Attribu