basebutton.h

来自「一个有关人事系统的所有代码和有关文件包括里面小量数据库。」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_BASEBUTTON_H__C65CA002_C726_43B7_95AB_3CEABDC93AFA__INCLUDED_)
#define AFX_BASEBUTTON_H__C65CA002_C726_43B7_95AB_3CEABDC93AFA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BaseButton.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// 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, UINT uppic, UINT enabledpic);
	virtual ~CBaseButton();

	// Generated message map functions
protected:
	//{{AFX_MSG(CBaseButton)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}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__C65CA002_C726_43B7_95AB_3CEABDC93AFA__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?