mytab.h

来自「这是采用mfc编写的工资管理系统」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_MYTAB_H__61D33146_CB2B_457B_B23B_E92BA2FF5358__INCLUDED_)
#define AFX_MYTAB_H__61D33146_CB2B_457B_B23B_E92BA2FF5358__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMyTab window

class CMyTab : public CTabCtrl
{
// Construction
public:
	CMyTab();

// Attributes
public:

// Operations
public:

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

// Implementation
public:
	void SetIndex(int index);
	void OnChangePage(int nItem);
	void SetRetangle();
	void InitTabCtrl();
	virtual ~CMyTab();

	// Generated message map functions
protected:
	//{{AFX_MSG(CMyTab)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	int index;
	CDialog* m_tabPages[6];
	int m_CountOfPages;
	int m_tabCurrent;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYTAB_H__61D33146_CB2B_457B_B23B_E92BA2FF5358__INCLUDED_)

⌨️ 快捷键说明

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