|
// DemoPropertyPage.h : header file
//
#ifndef __DEMOPROPERTYPAGE_H__
#define __DEMOPROPERTYPAGE_H__
#include "MainFrm.h"
class CViewManager; // forward declaration
/////////////////////////////////////////////////////////////////////////////
// CDemoPropertyPage1 dialog
class CDemoPropertyPage1 : public CPropertyPage
{
DECLARE_DYNCREATE(CDemoPropertyPage1)
// Construction
public:
CDemoPropertyPage1();
~CDemoPropertyPage1();
// Dialog Data
//{{AFX_DATA(CDemoPropertyPage1)
enum { IDD = IDD_PROPPAGE1 };
int m_nButType;
BOOL m_bFlatButtons;
BOOL m_bDispIcons;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CDemoPropertyPage1)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// CMainFrame* m_pFrame;
CViewManager* m_pViewManager; // ptr back to the ViewManager
// Generated message map functions
//{{AFX_MSG(CDemoPropertyPage1)
afx_msg void OnActiveTabFont();
afx_msg void OnInactiveTabFont();
afx_msg void OnModifiedColor();
afx_msg void OnSelectedColor();
afx_msg void OnUnselectedColor();
afx_msg void OnButtons();
afx_msg void OnFlat();
afx_msg void OnNormal();
virtual BOOL OnInitDialog();
afx_msg void OnDispIcons();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CDemoPropertyPage2 dialog
class CDemoPropertyPage2 : public CPropertyPage
{
DECLARE_DYNCREATE(CDemoPropertyPage2)
// Construction
public:
CDemoPropertyPage2();
~CDemoPropertyPage2();
// Dialog Data
//{{AFX_DATA(CDemoPropertyPage2)
enum { IDD = IDD_PROPPAGE2 };
CString m_strFileName;
int m_nDispType;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CDemoPropertyPage2)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CMainFrame* m_pFrame;
// Generated message map functions
//{{AFX_MSG(CDemoPropertyPage2)
afx_msg void OnBkcolor();
afx_msg void OnBkfont();
afx_msg void OnBrowse();
afx_msg void OnDisplayType();
afx_msg void OnBacklogo();
afx_msg void OnDefault();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif // __DEMOPROPERTYPAGE_H__
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.