www.pudn.com > qiyehetongguanli.rar > BaseButton.h


#if !defined(AFX_BASEBUTTON_H__DC880CB1_F48D_4976_90BF_21D60C143DA4__INCLUDED_) 
#define AFX_BASEBUTTON_H__DC880CB1_F48D_4976_90BF_21D60C143DA4__INCLUDED_ 
 
#include "RxMCI.h"	// Added by ClassView 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
///////////////////////////////////////////////////////////////////////////// 
// CBaseButton window 
 
class CBaseButton : public CButton 
{ 
// Construction 
public: 
	CBaseButton(); 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CBaseButton) 
	public: 
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct); 
		virtual BOOL PreTranslateMessage(MSG* pMsg); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void LoadPic(UINT downpic=NULL, UINT uppic=NULL, UINT enabledpic=NULL); 
	virtual ~CBaseButton(); 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CBaseButton) 
	//}}AFX_MSG 
 
	DECLARE_MESSAGE_MAP() 
private: 
	CBitmap m_Down; 
	CBitmap m_Up; 
	CBitmap m_Enabled; 
 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_BASEBUTTON_H__DC880CB1_F48D_4976_90BF_21D60C143DA4__INCLUDED_)