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

📄 propertyctrl.h

📁 实现了一个简单的个人事务助理的工具
💻 H
字号:
// ExampelDlg.h : Header-Datei
//

#if !defined(AFX_CPROPERTYG_H__3F20C546_869F_11D2_B6F4_0000C0E36C6E__INCLUDED_)
#define AFX_CPROPERTY_H__3F20C546_869F_11D2_B6F4_0000C0E36C6E__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000


#define	ID_NEXT_FIELD		1
#define	ID_PREV_FIELD	2

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

// Class to handle the pages

class CPropertyPages : public CObject {
public:
//	DLGTEMPLATE	m_dlgTemplate;	// Templatestructure
//	DLGTEMPLATE	*m_pResource;	// I create my dialogs on the fly
					// so I need a pointer to the memory
//	HLOCAL			m_hLocal;		// Memory-Handle
	CString			m_strTitle;
	CDialog	*m_pDialogPage;	// pointer to the dialog structur
	CRect			m_Rect;		// size of the dialog on the screen
};

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

// Class to handle the TabCtrl
class CSheetTabCtrl : public CTabCtrl
{
// Construction
public:
    CSheetTabCtrl();

	CRect   m_Rect;     // Rectangle coordinates
	UINT    m_nCtrlID;  // CTrlID in the dialog
	int     m_nPages;   // number of pages
	int     m_nActPage; // Actual page

	// Array of dialogs
	CObArray	m_Dialogs;
	
// Attributes
public:

// Operations
public:
		
    //{{AFX_VIRTUAL(CSheetTabCtrl)
	//}}AFX_VIRTUAL

// Implementation
public:
    virtual ~CSheetTabCtrl();

protected:
	int SetActivePage (int nPage);
    //{{AFX_MSG(CSheetTabCtrl)
        afx_msg void OnSelchange(NMHDR* pNMHDR, LRESULT* pResult);
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};


//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio f黦t zus鋞zliche Deklarationen unmittelbar vor der vorhergehenden Zeile ein.

#endif // !defined(AFX_CPROPERTY_H__3F20C546_869F_11D2_B6F4_0000C0E36C6E__INCLUDED_)

⌨️ 快捷键说明

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