Chooser.h
上传用户:apjinmao
上传日期:2007-01-02
资源大小:96k
文件大小:1k
- // chooser.h : declaration of the CDialogChooser class
- // This class keeps track of what dialogs to pop up when.
- #ifndef __CHOOSER_H__
- #define __CHOOSER_H__
- #define LAST_DLG 2
- class CDialogChooser
- {
- public:
- CDialogChooser();
- ~CDialogChooser();
- // All calls by mfcapwz.dll to CPropSheetWizardAppWiz::Next
- // & CPropSheetWizardAppWiz::Back are delegated to these member
- // functions, which keep track of what dialog is up
- // now, and what to pop up next.
- CAppWizStepDlg* Next(CAppWizStepDlg* pDlg);
- CAppWizStepDlg* Back(CAppWizStepDlg* pDlg);
- protected:
- // Current step's index into the internal array m_pDlgs
- int m_nCurrDlg;
- // Internal array of pointers to the steps
- CAppWizStepDlg* m_pDlgs[LAST_DLG + 1];
- };
- #endif //__CHOOSER_H__