mypropertysheet.h

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

H
75
字号
#if !defined(AFX_MYPROPERTYSHEET_H__1EDE4AFC_92B7_4E89_BFB0_096A57915193__INCLUDED_)
#define AFX_MYPROPERTYSHEET_H__1EDE4AFC_92B7_4E89_BFB0_096A57915193__INCLUDED_

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

class CMyProPertySheet : public CPropertySheet
{
	DECLARE_DYNAMIC(CMyProPertySheet)

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

// Attributes
public:

// Operations
public:

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

// Implementation
public:
	virtual ~CMyProPertySheet();
	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;
	// Generated message map functions
protected:
	void OnApply();
	void OnOK();
	CFont		m_Font;
	COLORREF	m_clrBack;
	COLORREF	m_clrText;
//    int  addcanshunum;

	//{{AFX_MSG(CMyProPertySheet)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_MYPROPERTYSHEET_H__1EDE4AFC_92B7_4E89_BFB0_096A57915193__INCLUDED_)

⌨️ 快捷键说明

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