?? dialogpage.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 + -