⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 buttonlist.h

📁 利用VisualC++写的一个比较大的画电路土软件
💻 H
字号:
// ButtonList.h: interface for the ButtonList class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_BUTTONLIST_H__74583B42_741D_11D4_825F_60000000105A__INCLUDED_)
#define AFX_BUTTONLIST_H__74583B42_741D_11D4_825F_60000000105A__INCLUDED_

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

#include "Button.h"
#include "Afxtempl.h"

class ButtonList  
{
public:
	ButtonList();
	virtual ~ButtonList();
public:
	CList < Button *,Button * > MyList;
	UINT m_ID;
	BOOL m_LFlag;
	UINT m_WhatToDo;
	BOOL m_BeSelected;
	void AddButton( Button * );
	void DeleteAllFlag( );
	void DeleteAllButton( );
	UINT CreateButton( CPoint ,int,int,UINT,UINT,UINT );
	void Draw( CDC * );
	void MoveAllButton( CPoint );
    void OnLButtonDown( UINT,CPoint );
	void OnLButtonUp( UINT,CPoint );
	void OnMouseMove( UINT,CPoint );
	void ExchangeButtonPosition( CPoint,UINT );
	void Serialize( CArchive &ar );

};

#endif // !defined(AFX_BUTTONLIST_H__74583B42_741D_11D4_825F_60000000105A__INCLUDED_)

⌨️ 快捷键说明

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