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.

49 lines
1.1 KiB

  1. //Copyright (c) 1997-2000 Microsoft Corporation
  2. #ifndef _INC_PGMINTX2_H
  3. #define _INC_PGMINTX2_H
  4. #include "pgbase.h"
  5. struct CDisplayModeInfo
  6. {
  7. CDisplayModeInfo() {memset(&m_DevMode, 0, sizeof(m_DevMode));m_bCanUse = FALSE;}
  8. DEVMODE m_DevMode;
  9. BOOL m_bCanUse;
  10. };
  11. class CWelcome2Pg : public WizardPage
  12. {
  13. public:
  14. CWelcome2Pg(LPPROPSHEETPAGE ppsp);
  15. ~CWelcome2Pg(VOID);
  16. protected:
  17. void UpdateControls();
  18. void SetCheckBoxesFromWelcomePageInfo();
  19. CDisplayModeInfo *m_pDisplayModes;
  20. int m_nDisplayModes;
  21. int m_nBestDisplayMode;
  22. // MOVE THIS STUFF TO THE ACC WIZ OPTIONS
  23. DEVMODE m_dvmdOrig;
  24. NONCLIENTMETRICS m_ncmOrig;
  25. LOGFONT m_lfIconOrig;
  26. BOOL m_bMagnifierRun;
  27. BOOL m_bResolutionSwitched;
  28. BOOL m_bFontsChanged;
  29. BOOL m_IntlVal;
  30. LRESULT OnInitDialog(HWND hwnd, WPARAM wParam, LPARAM lParam);
  31. LRESULT OnCommand(HWND hwnd, WPARAM wParam, LPARAM lParam);
  32. LRESULT OnPSN_SetActive(HWND hwnd, INT idCtl, LPPSHNOTIFY pnmh);
  33. LRESULT OnPSN_WizNext(HWND hwnd, INT idCtl, LPPSHNOTIFY pnmh);
  34. LRESULT OnPSN_WizBack(HWND hwnd, INT idCtl, LPPSHNOTIFY pnmh);
  35. private:
  36. };
  37. #endif // _INC_PGMINTX2_H