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

📄 dialogpage.h

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

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

/////////////////////////////////////////////////////////////////////////////
// CDialogPage dialog

class CDialogPage : public CDialog
{
// Construction
public:
	CDialogPage( UINT nIDTemplate, CWnd* pParentWnd = NULL );

	// create the dialog (override from base class)
	BOOL Create(CWnd* pParentWnd =NULL, CDialog* OwningDialog =NULL);


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


// interface
public:

	void SetTabControlIndex(int Index) { m_TabControlIndex = Index; }
	int  GetTabControlIndex()	{ return m_TabControlIndex; }
	
	// this handler is called with:
	//   TRUE  when the dialog page is selected
	//   FALSE when the dialog page is deselected
	virtual void OnSelectionChange(BOOL bSelected) { return; }


// Implementation
protected:

	virtual void OnOK() { return; }
	virtual void OnCancel() { return; }

	// ID of dialog template resource
	UINT m_DialogID;
	
	// index of this page when used with a tab control
	int m_TabControlIndex;

	// pointer to dialog that owns this dialog page
	CDialog* m_OwningDialog;


	// Generated message map functions
protected:
	//{{AFX_MSG(CDialogPage)
		// 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_DIALOGPAGE_H__4E7ABA70_6059_11D2_9E20_0080C8272F6C__INCLUDED_)

⌨️ 快捷键说明

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