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

📄 dialogpagectrl.h

📁 1394测试程序
💻 H
字号:
#if !defined(AFX_DIALOGPAGECTRL_H__4E7ABA70_6059_11D2_9E20_0080C8272F6C__INCLUDED_)
#define AFX_DIALOGPAGECTRL_H__4E7ABA70_6059_11D2_9E20_0080C8272F6C__INCLUDED_

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

#include "DialogPage.h"


#define MAX_DIALOG_PAGE			16


/////////////////////////////////////////////////////////////////////////////
// CDialogPageCtrl control

class CDialogPageCtrl : public CTabCtrl
{
public:
	CDialogPageCtrl();

	// tab control support functions
	BOOL AddDialogPage(CDialogPage *DlgPg, UINT CaptionID);
	BOOL AddDialogPage(CDialogPage *DlgPg, const char *Caption);
	void UpdatePageSelection();

	// call UpdateData on all dialog pages
	BOOL UpdateAllData( BOOL bSaveAndValidate /*= TRUE*/ );


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDialogPageCtrl)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CDialogPageCtrl();


protected:
	// dialog page table
	CDialogPage *m_DialogPage[MAX_DIALOG_PAGE];

	int m_IndexCounter;

	// Generated message map functions
	//{{AFX_MSG(CDialogPageCtrl)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DIALOGPAGECTRL_H__4E7ABA70_6059_11D2_9E20_0080C8272F6C__INCLUDED_)

⌨️ 快捷键说明

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