tabctrl.h
来自「一个在对话框中的Tab控件的实现例子」· C头文件 代码 · 共 53 行
H
53 行
#if !defined(AFX_TABCTRL_H__6BBFE2A8_1777_4686_A758_B64BCB7E5E1D__INCLUDED_)
#define AFX_TABCTRL_H__6BBFE2A8_1777_4686_A758_B64BCB7E5E1D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Tabctrl.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTabctrl window
class CTabctrl : public CTabCtrl
{
// Construction
public:
CTabctrl();
CDialog *m_tabPages[3];
int m_tabCurrent;
int m_nNumberOfPages;
// Attributes
public:
// Operations
public:
void Init();
void SetRectangle();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTabctrl)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTabctrl();
// Generated message map functions
protected:
//{{AFX_MSG(CTabctrl)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TABCTRL_H__6BBFE2A8_1777_4686_A758_B64BCB7E5E1D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?