propertydlg.h

来自「类似vc的集成开发环境」· C头文件 代码 · 共 84 行

H
84
字号
#if !defined(AFX_PROPERTYDLG_H__2634D3F6_18FB_4695_A1B2_10B5BE7EF435__INCLUDED_)
#define AFX_PROPERTYDLG_H__2634D3F6_18FB_4695_A1B2_10B5BE7EF435__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PropertyDlg.h : header file
//
#include "AddFuncPage.h"
#include "AddFuncOk.h"
#include "DeleteFunc.h"

/////////////////////////////////////////////////////////////////////////////
// CPropertyDlg
////////////////////////////////////////////////////////////////////////////
// CPropertyDlg
class CPropertyDlg : public CPropertySheet
{
	DECLARE_DYNAMIC(CPropertyDlg)

// Construction
public:
	CPropertyDlg(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
	CPropertyDlg(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPropertyDlg)
	protected:
	virtual void PostNcDestroy();
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CPropertyDlg();
	BOOL SetFont (LOGFONT &lf);
	CFont * GetFont();
	void SetBackColor (COLORREF clrNew);
	void SetTextColor (COLORREF clrNew);
	COLORREF GetBackColor();
	COLORREF GetTextColor();
	AddFuncOk*  myaddok;
//    CTestPage1*  page1;
   
	CTestPage1* mypage;
  
	DeleteFunc  mydelfuncpage;

	CAddFuncPage	m_AddFuncPage;
//	CTestPage2* 	page2;
//	CWizardDlg* dlg;
     

	// Generated message map functions
protected:
	void OnApply();
	void OnOK();
	CFont		m_Font;
	COLORREF	m_clrBack;
	COLORREF	m_clrText;
//    int  addcanshunum;

	//{{AFX_MSG(CPropertyDlg)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
//	CFontPage	m_FontPage;
	

};

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

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

#endif // !defined(AFX_PROPERTYDLG_H__2634D3F6_18FB_4695_A1B2_10B5BE7EF435__INCLUDED_)

⌨️ 快捷键说明

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