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

📄 apbpropg.h

📁 一个完整的编辑器的代码(很值得参考
💻 H
字号:

#ifndef __APBPROPG_H__INCLUDED__
#define __APBPROPG_H__INCLUDED__

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

class CAppBar;

/////////////////////////////////////////////////////////////////////////////
// CAppBarPropPage dialog

#pragma warning ( disable : 4512 )
class CAppBarPropPage : public CPropertyPage
{
	DECLARE_DYNCREATE(CAppBarPropPage)

// Construction
public:
	CAppBarPropPage ();
	~CAppBarPropPage ();

// Dialog Data
	//{{AFX_DATA(CAppBarPropPage)
	enum { IDD = IDD_APPBAR_PAGE };
	CButton	m_ctlDocked;
	BOOL	m_bDockable;
	BOOL	m_bDocked;
	//}}AFX_DATA

  CAppBar *m_pBar;

  void Init (CAppBar *pBar);
  void UpdateDockable ();

// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CAppBarPropPage)
	protected:
	virtual void DoDataExchange (CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CAppBarPropPage)
  virtual BOOL OnSetActive ();
  virtual void OnOK ();
	afx_msg void OnDockable();
	afx_msg void OnDocked();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};
#pragma warning ( default : 4512 )

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

#endif // __APBPROPG_H__INCLUDED__

⌨️ 快捷键说明

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