|
#if !defined(AFX_NEWWIZPAGE_H__915D4C8B_2E27_11D4_9FA9_0030DB0011C6__INCLUDED_)
#define AFX_NEWWIZPAGE_H__915D4C8B_2E27_11D4_9FA9_0030DB0011C6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NewWizPage.h : header file
//
class CNewWizDialog;
/////////////////////////////////////////////////////////////////////////////
// CNewWizPage dialog
class CNewWizPage : public CDialog
{
friend class CNewWizDialog;
// Construction
public:
CNewWizPage(CWnd* pParent = NULL); // standard constructor
CNewWizPage(LPCTSTR lpszTemplateName, CWnd* pParent = NULL);
CNewWizPage(UINT nIDTemplate, CWnd* pParent = NULL);
virtual ~CNewWizPage();
// Attributes
public:
CFont m_LargeFont; // a large font for any titles we may want
protected:
CBrush m_Brush; // brush for white background
CNewWizDialog *m_pParent; // Parent dialog
private:
BOOL m_bCreated; // flag to tell us if the dialog has been created
BOOL m_bActive; // flag to tell is if the dialog is the active page
UINT m_nDialogID; // resource ID for thie page
// Operations
public:
virtual BOOL OnCreatePage();
virtual void OnDestroyPage();
// these functions are the same as CPropertyPage
virtual void OnCancel();
virtual BOOL OnKillActive();
virtual void OnSetActive();
virtual BOOL OnQueryCancel( );
virtual LRESULT OnWizardBack();
virtual LRESULT OnWizardNext();
virtual BOOL OnWizardFinish();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNewWizPage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CNewWizPage)
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NEWWIZPAGE_H__915D4C8B_2E27_11D4_9FA9_0030DB0011C6__INCLUDED_)
|
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.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
Bob Pittenger is founder and President of Starpoint Software Inc. He holds a B.A. degree from Miami University, M.S. and Ph.D. degrees from Purdue University, and an MBA from Xavier University. He has been programming since 1993, starting with Windows application development in C++/MFC and moving to C# and .NET around 2005 and is a .NET Microsoft Certified Professional Developer.
Bob is the author of two books:
Billionaire: How the Ultra-Rich Built Their Fortunes Through Good and Evil and What You Can Learn from Them
and
Wealthonomics: The Most Important Economic and Financial Concepts that Can Make You Rich Fast.
Visit http://www.billionairebook.net for more information.