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.

36 lines
969 B

  1. //Copyright (c) 1997-2000 Microsoft Corporation
  2. #ifndef _INC_PGWELCOM_H
  3. #define _INC_PGWELCOM_H
  4. #include "pgbase.h"
  5. class CWelcomePg : public WizardPage
  6. {
  7. public:
  8. CWelcomePg(LPPROPSHEETPAGE ppsp);
  9. ~CWelcomePg(VOID);
  10. protected:
  11. LRESULT OnCommand(HWND hwnd, WPARAM wParam, LPARAM lParam);
  12. LRESULT OnPSN_WizNext(HWND hwnd, INT idCtl, LPPSHNOTIFY pnmh);
  13. LRESULT OnDrawItem(HWND hwnd, WPARAM wParam, LPARAM lParam);
  14. LRESULT OnInitDialog(HWND hwnd, WPARAM wParam, LPARAM lParam);
  15. inline void InvalidateRects(int PrevHilight);
  16. LRESULT OnTimer( HWND hwnd, WPARAM wParam, LPARAM lParam );
  17. LRESULT OnPSN_SetActive(HWND hwnd, INT idCtl, LPPSHNOTIFY pnmh);
  18. inline void SetFocussedItem(int m_nCurrentHilight);
  19. TCHAR m_szWelcomeText[4][85];
  20. private:
  21. void Draw(LPDRAWITEMSTRUCT ldi, int i);
  22. int m_nCountValues;
  23. int m_rgnValues[MAX_DISTINCT_VALUES];
  24. int m_nCurValueIndex;
  25. int m_nCurrentHilight;
  26. BOOL syncInit;
  27. UINT uIDEvent;
  28. };
  29. #endif // _INC_PGWELCOM_H