diagrampropertydlg.h

来自「So you wanted to add a forms editor to y」· C头文件 代码 · 共 29 行

H
29
字号
#ifndef _DIAGRAMPROPERTYDLG_H_
#define _DIAGRAMPROPERTYDLG_H_

#include "DiagramEntity.h"

class CDiagramEntity;
class CDiagramPropertyDlg : public CDialog
{

public:
	CDiagramPropertyDlg( UINT res, CWnd* parent );
	BOOL Create( UINT nIDTemplate, CWnd* pParentWnd );

	void			SetEntity( CDiagramEntity* entity );
	CDiagramEntity*	GetEntity() const;

	virtual CWnd*	GetRedrawWnd();
	virtual void	SetRedrawWnd( CWnd* redrawWnd );
	virtual void	Redraw();

	virtual void	SetValues() = 0;

private:
	CDiagramEntity*	m_entity;
	CWnd*			m_redrawWnd;

};

#endif // _DIAGRAMPROPERTYDLG_H_

⌨️ 快捷键说明

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