www.pudn.com > 智能内码识别,支持屏幕取词翻译的程序.zip > BASICBUT.H


// basicbut.h : header file 
// 
//按钮基类 
///////////////////////////////////////////////////////////////////////////// 
// CBasicButton window 
 
class CBasicButton : public CBasicWin 
{ 
// Construction 
public: 
	CBasicButton(); 
 
// Attributes 
private: 
 
	// Operations 
	public: 
		//初始化按钮 
		virtual BOOL	InitButton( 	LPCSTR 	lpcsName , 	//窗口名称 
								const RECT &rect ,	//窗口大小 
								CWnd 	*pParent ,	//父窗口 
								UINT	uWinID ) ;	//窗口ID 
 
// Implementation 
public: 
	virtual ~CBasicButton(); 
 
protected: 
	// Generated message map functions 
	//{{AFX_MSG(CBasicButton) 
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point); 
	afx_msg void OnMouseMove(UINT nFlags, CPoint point); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
/////////////////////////////////////////////////////////////////////////////