⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tabctrl.h

📁 3D reconstruction, medical image processing from colons, using intel image processing for based clas
💻 H
字号:
#if !defined(AFX_TABCTRL_H__7D1D01E5_6CDD_4874_94B5_A1F65BD8E71E__INCLUDED_)#define AFX_TABCTRL_H__7D1D01E5_6CDD_4874_94B5_A1F65BD8E71E__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000// TabCtrl.h : header file///////////////////////////////////////////////////////////////////////////////// RxTabCtrl window#define TC_CHANGED		0x0001#define TC_SIDE_TOP		0#define TC_SIDE_BOTTOM	1#define TC_SIDE_LEFT	2#define TC_SIDE_RIGHT	3#define TC_SCROLL_UP	1000#define TC_SCROLL_DOWN	2000typedef struct{	NMHDR	hdr;	int		nOldTab;			// old tab index	int		nCurTab;			// current tab index} NMTC_CTRL;class RxTabCtrl : public CWnd{// Constructionpublic:	RxTabCtrl();// Attributespublic:	CFont			m_font;	int				m_nSide;	COLORREF		m_crBack;	COLORREF		m_crTabFace;	COLORREF		m_crTabBack;	COLORREF		m_crGuideN;	COLORREF		m_crGuideS;	// Depended on a horizontal	int				m_nLeftMargin;	int				m_nTabWingSize;	int				m_nTabWidth;	int				m_nTabHeight;	BOOL			m_bScrollShow;			// Scroll button show/hide	int				m_nScrollPos;	int				m_nCurTab;	CStringArray	m_ArrayTabText;	int				m_nOldHitTest;// Operationspublic:	void DrawTabHorz	(CDC *pDC, int nIndex);	void DrawTabVert	(CDC *pDC, int nIndex);	void DrawArrowHorz	(CDC *pDC, CRect rect, int nCheck);	void DrawArrowVert	(CDC *pDC, CRect rect, int nCheck);	void DrawArrow		(CDC *pDC, POINT *point, COLORREF color);	void RecalcWindow	(int cx, int cy);	void SetTabSide		(int nIndex);	void AddTab			(BOOL bFocusAndRedraw = FALSE);	void AddTab			(LPCTSTR text, BOOL bFocusAndRedraw = FALSE);	void RemoveTab		(int nIndex);	void RemoveAllTab	();	int  SetCurTab		(int nIndex);	int  GetCurTab		();	int  GetTabCount	() {return m_ArrayTabText.GetSize();}	void GetTabPixel	(int nIndex, int *pBegin, int *pEnd);	void GetTabRegion	(int nIndex, POINT *point, int nScrollPos = 0);	int  HitTest		(CPoint point);// Overrides	// ClassWizard generated virtual function overrides	//{{AFX_VIRTUAL(RxTabCtrl)	//}}AFX_VIRTUAL// Implementationpublic:	virtual ~RxTabCtrl();	// Generated message map functionsprotected:	//{{AFX_MSG(RxTabCtrl)	afx_msg BOOL OnEraseBkgnd(CDC* pDC);	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);	afx_msg void OnSize(UINT nType, int cx, int cy);	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);	//}}AFX_MSG	afx_msg void OnInitialUpdate();	afx_msg LRESULT OnGetFont(WPARAM wParam, LPARAM lParam);	afx_msg LRESULT OnSetFont(WPARAM wParam, LPARAM lParam);	DECLARE_MESSAGE_MAP()};///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_TABCTRL_H__7D1D01E5_6CDD_4874_94B5_A1F65BD8E71E__INCLUDED_)

⌨️ 快捷键说明

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