Leaked source code of windows server 2003
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.

79 lines
2.0 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1997.
  5. //
  6. // File: wizsel.hxx
  7. //
  8. // Contents: Task wizard onestop selection property page.
  9. //
  10. // Classes: CSelectItemsPage
  11. //
  12. // History: 11-21-1997 SusiA
  13. //
  14. //---------------------------------------------------------------------------
  15. #ifndef __WIZSEL_HXX_
  16. #define __WIZSEL_HXX_
  17. //+--------------------------------------------------------------------------
  18. //
  19. // Class: CSelectItemsPage
  20. //
  21. // Purpose: Implement the task wizard welcome dialog
  22. //
  23. // History: 11-21-1997 SusiA
  24. //
  25. //---------------------------------------------------------------------------
  26. class CSelectItemsPage: public CWizPage
  27. {
  28. public:
  29. //
  30. // Object creation/destruction
  31. //
  32. CSelectItemsPage(
  33. HINSTANCE hinst,
  34. BOOL *pfSaved,
  35. ISyncSchedule *pISyncSched,
  36. HPROPSHEETPAGE *phPSP,
  37. int iDialogResource);
  38. virtual ~CSelectItemsPage();
  39. BOOL ShowItemsOnThisConnection(int iItem, BOOL fClear);
  40. BOOL FreeItemsFromListView();
  41. void FreeRas();
  42. HRESULT ShowProperties(int iItem);
  43. BOOL Initialize(HWND hwnd);
  44. BOOL InitializeItems();
  45. BOOL SetItemCheckState(int iCheckCount);
  46. BOOL SetCheck(WORD wParam,DWORD dwCheckState);
  47. HRESULT CommitChanges();
  48. void SetSchedNameDirty();
  49. void SetConnectionDirty();
  50. private:
  51. ISyncSchedulep *m_pISyncSchedp;
  52. CRasUI *m_pRas;
  53. HWND m_hwndRasCombo;
  54. CListView *m_pListView;
  55. BOOL m_Initialized;
  56. int m_iCreationKind;
  57. int m_SchedConnectionNum;
  58. DWORD m_dwFlags;
  59. WCHAR m_pwszConnectionName[RAS_MaxEntryName + 1];
  60. DWORD m_dwConnType;
  61. BOOL m_fItemsChanged;
  62. BOOL m_fConnectionFlagChanged;
  63. BOOL m_fConnectionChanged;
  64. BOOL *m_pfSaved;
  65. BOOL m_fInitialized;
  66. friend INT_PTR CALLBACK SchedWizardConnectionDlgProc(HWND hDlg, UINT uMessage, WPARAM wParam, LPARAM lParam);
  67. };
  68. #endif // __WIZSEL_HXX_