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.

56 lines
1.5 KiB

  1. //
  2. // propgeneral.h: general property page
  3. // Tab A
  4. //
  5. // Copyright Microsoft Corportation 2000
  6. // (nadima)
  7. //
  8. #ifndef _propgen_h_
  9. #define _propgen_h_
  10. #include "sh.h"
  11. #include "tscsetting.h"
  12. class CPropGeneral
  13. {
  14. public:
  15. CPropGeneral(HINSTANCE hInstance, CTscSettings* pTscSet,CSH* pSh);
  16. ~CPropGeneral();
  17. //General tab
  18. static INT_PTR CALLBACK StaticPropPgGeneralDialogProc (HWND hwndDlg,
  19. UINT uMsg,
  20. WPARAM wParam,
  21. LPARAM lParam);
  22. INT_PTR CALLBACK PropPgGeneralDialogProc(HWND hwndDlg,
  23. UINT uMsg,
  24. WPARAM wParam,
  25. LPARAM lParam);
  26. void SetTabDisplayArea(RECT& rc) {_rcTabDispayArea = rc;}
  27. private:
  28. BOOL LoadGeneralPgStrings();
  29. BOOL OnSave(HWND hwndDlg);
  30. BOOL OnLoad(HWND hwndDlg);
  31. BOOL OnChangeUserName(HWND hwndDlg);
  32. void DlgToSettings(HWND hwndDlg);
  33. private:
  34. //Private members
  35. CTscSettings* _pTscSet;
  36. static CPropGeneral* _pPropGeneralInstance;
  37. HINSTANCE _hInstance;
  38. //Resource string that describes remote desktop files
  39. TCHAR _szFileTypeDescription[MAX_PATH];
  40. CSH* _pSh;
  41. RECT _rcTabDispayArea;
  42. };
  43. #endif //_propgen_h_