bcgppropertypage.h

来自「远程网络监视程序的源码」· C头文件 代码 · 共 72 行

H
72
字号
#if !defined(AFX_BCGPPROPERTYPAGE_H__A3843CA0_4B87_4A2D_8B53_FDD20BB95C10__INCLUDED_)
#define AFX_BCGPPROPERTYPAGE_H__A3843CA0_4B87_4A2D_8B53_FDD20BB95C10__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BCGPPropertyPage.h : header file
//

#include "BCGCBPro.h"
#include "bcgpdlgimpl.h"

class CBCGPPropSheetCategory;

/////////////////////////////////////////////////////////////////////////////
// CBCGPPropertyPage window

class BCGCBPRODLLEXPORT CBCGPPropertyPage : public CPropertyPage
{
	friend class CBCGPPopupMenu;
	friend class CBCGPContextMenuManager;
	friend class CBCGPPropertySheet;

	DECLARE_DYNCREATE(CBCGPPropertyPage)

// Construction
public:
	CBCGPPropertyPage();
	CBCGPPropertyPage(UINT nIDTemplate, UINT nIDCaption = 0);
	CBCGPPropertyPage(LPCTSTR lpszTemplateName, UINT nIDCaption = 0);
	~CBCGPPropertyPage();

// Dialog Data
	//{{AFX_DATA(CBCGPPropertyPage)
	//}}AFX_DATA

// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CBCGPPropertyPage)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual BOOL OnSetActive();
	protected:
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CBCGPPropertyPage)
	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
	afx_msg BOOL OnNcActivate(BOOL bActive);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	void SetActiveMenu (CBCGPPopupMenu* pMenu);
	void CommonInit ();

	CBCGPDlgImpl			m_Impl;
	CBCGPPropSheetCategory*	m_pCategory;
	int						m_nIcon;
	int						m_nSelIconNum;
	HTREEITEM				m_hTreeNode;
};

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

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

#endif // !defined(AFX_BCGPPROPERTYPAGE_H__A3843CA0_4B87_4A2D_8B53_FDD20BB95C10__INCLUDED_)

⌨️ 快捷键说明

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