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.

66 lines
1.1 KiB

  1. // Copyright (c) 1997-2001 Microsoft Corporation
  2. //
  3. // File: Dialogs.h
  4. //
  5. // Synopsis: Declares some helpful dialogs that are
  6. // used throughout the wizard
  7. //
  8. // History: 05/02/2001 JeffJon Created
  9. #ifndef __CYS_DIALOGS_H
  10. #define __CYS_DIALOGS_H
  11. class FinishDialog : public Dialog
  12. {
  13. public:
  14. // constructor
  15. FinishDialog(
  16. String logFile,
  17. String helpStringURL);
  18. // Accessors
  19. bool
  20. ShowHelpList() { return showHelpList; }
  21. bool
  22. ShowLogFile() { return showLogFile; }
  23. void
  24. OpenLogFile();
  25. protected:
  26. virtual
  27. void
  28. OnInit();
  29. virtual
  30. bool
  31. OnCommand(
  32. HWND windowFrom,
  33. unsigned controlIdFrom,
  34. unsigned code);
  35. private:
  36. bool
  37. OnHelp();
  38. String logFileName;
  39. String helpString;
  40. bool showHelpList;
  41. bool showLogFile;
  42. // not defined: no copying allowed
  43. FinishDialog(const FinishDialog&);
  44. const FinishDialog& operator=(const FinishDialog&);
  45. };
  46. #endif // __CYS_DIALOGS_H