dialogpage.h
来自「1394测试程序」· C头文件 代码 · 共 71 行
H
71 行
#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 + =
减小字号Ctrl + -
显示快捷键?