Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.0 KiB

  1. #if !defined(AFX_CHOOSER_H__8E5AF4C6_5EDE_11D1_8CD0_00C04FD918D0__INCLUDED_)
  2. #define AFX_CHOOSER_H__8E5AF4C6_5EDE_11D1_8CD0_00C04FD918D0__INCLUDED_
  3. // chooser.h : declaration of the CDialogChooser class
  4. // This class keeps track of what dialogs to pop up when.
  5. #define LAST_DLG 2
  6. class CDialogChooser
  7. {
  8. public:
  9. CDialogChooser();
  10. ~CDialogChooser();
  11. // All calls by mfcapwz.dll to CTestAppWiz::Next
  12. // & CTestAppWiz::Back are delegated to these member
  13. // functions, which keep track of what dialog is up
  14. // now, and what to pop up next.
  15. CAppWizStepDlg* Next(CAppWizStepDlg* pDlg);
  16. CAppWizStepDlg* Back(CAppWizStepDlg* pDlg);
  17. protected:
  18. // Current step's index into the internal array m_pDlgs
  19. int m_nCurrDlg;
  20. // Internal array of pointers to the steps
  21. CAppWizStepDlg* m_pDlgs[LAST_DLG + 1];
  22. };
  23. //{{AFX_INSERT_LOCATION}}
  24. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  25. #endif // !defined(AFX_CHOOSER_H__8E5AF4C6_5EDE_11D1_8CD0_00C04FD918D0__INCLUDED_)