Click here to Skip to main content
15,891,033 members
Articles / Desktop Programming / MFC

A Simple Generic Wizard

Rate me:
Please Sign up or sign in to vote.
4.50/5 (6 votes)
12 May 20033 min read 66.8K   893   26  
A custom AppWizard application to create simple CTreePropSheet-based wizards.
#if !defined(AFX_WIZDLG2_H__04DBF897_C71E_4258_9D5E_25D26911406E__INCLUDED_)
#define AFX_WIZDLG2_H__04DBF897_C71E_4258_9D5E_25D26911406E__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CWizDlg2 dialog

class CWizDlg2 : public CPropertyPage
{
	DECLARE_DYNCREATE(CWizDlg2)

// Construction
public:
	CWizDlg2();
	~CWizDlg2();

// Dialog Data
	//{{AFX_DATA(CWizDlg2)
	enum { IDD = IDD_DIALOG2 };
		// NOTE - ClassWizard will add data members here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CWizDlg2)
	public:
	virtual BOOL OnKillActive();
	virtual BOOL OnSetActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CWizDlg2)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_WIZDLG2_H__04DBF897_C71E_4258_9D5E_25D26911406E__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.

License

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


Written By
Delphi
United States United States
Carlos Buelna works in the automotive industry.

Comments and Discussions