button.h

来自「利用VisualC++写的一个比较大的画电路土软件」· C头文件 代码 · 共 35 行

H
35
字号
// Button.h: interface for the Button class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_BUTTON_H__74583B41_741D_11D4_825F_60000000105A__INCLUDED_)
#define AFX_BUTTON_H__74583B41_741D_11D4_825F_60000000105A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class Button  
{
public:
	Button();
	virtual ~Button();
public:
	BOOL m_LFlag;
	BOOL m_BeSelected;
	BOOL m_MoveBeSelected;
	CPoint m_Point;
	int m_Width,m_Hight;
    UINT m_ID;
	UINT m_BitmapID1,m_BitmapID2,m_BitmapID3;
public :
	void Draw( CDC * );
	BOOL PtInButton( CPoint );
	void ExchangeButtonPosition( CPoint );
	void Serialize( CArchive &ar );
	

};

#endif // !defined(AFX_BUTTON_H__74583B41_741D_11D4_825F_60000000105A__INCLUDED_)

⌨️ 快捷键说明

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