mbutton.h

来自「VC下基于SQL的图书管理系统源代码」· C头文件 代码 · 共 55 行

H
55
字号
#if !defined(AFX_MBUTTON_H__8046C926_24A6_4E7F_B8CC_198D6E0FB1A4__INCLUDED_)
#define AFX_MBUTTON_H__8046C926_24A6_4E7F_B8CC_198D6E0FB1A4__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// MButton window

class MButton : public CStatic
{
// Construction
public:
	MButton();
BOOL LoadButtonBitmaps(int idDefault, int idUp = -1, int idDown = -1);
// Attributes
public:
CBitmap	m_bmpUp;
CBitmap	m_bmpDown;
CBitmap	m_default;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(MButton)
	//}}AFX_VIRTUAL

// Implementation
public:
	void ResetButton();
	int test();
	virtual ~MButton();

	// Generated message map functions
protected:
	//{{AFX_MSG(MButton)
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MBUTTON_H__8046C926_24A6_4E7F_B8CC_198D6E0FB1A4__INCLUDED_)

⌨️ 快捷键说明

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