📄 mytabctrl.h
字号:
#if !defined(AFX_MYTABCTRL_H__F220CA44_AD3A_44BC_A97F_4D56A76FFB7B__INCLUDED_)
#define AFX_MYTABCTRL_H__F220CA44_AD3A_44BC_A97F_4D56A76FFB7B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyTabCtrl.h : header file
//
#include "MonitorDlg.h"
#include "OperateDlg.h"
#include "SetupDlg.h"
#include "AdvanceDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CMyTabCtrl window
class CMyTabCtrl : public CTabCtrl
{
// Construction
public:
CMyTabCtrl();
// Attributes
public:
//Array to hold the list of dialog boxes/tab pages for CTabCtrl
int m_DialogID[4];
int m_nPageCount;
//CDialog Array Variable to hold the dialogs
CDialog *m_Dialog[4];
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyTabCtrl)
//}}AFX_VIRTUAL
// Implementation
public:
CAdvanceDlg * GetAdvanceDlg();
CSetupDlg * GetSetupDlg();
COperateDlg * GetOperateDlg();
CMonitorDlg * GetMonitorDlg();
virtual ~CMyTabCtrl();
//Function to Create the dialog boxes during startup
void InitDialogs();
//Function to activate the tab dialog boxes
void ActivateTabDialogs();
// Generated message map functions
protected:
//{{AFX_MSG(CMyTabCtrl)
afx_msg void OnSelchange(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYTABCTRL_H__F220CA44_AD3A_44BC_A97F_4D56A76FFB7B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -