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.

62 lines
2.0 KiB

  1. //
  2. // proplocalres.h: local resources prop pg
  3. // Tab C
  4. //
  5. // Copyright Microsoft Corportation 2000
  6. // (nadima)
  7. //
  8. #ifndef _proplocalres_h_
  9. #define _proplocalres_h_
  10. #include "sh.h"
  11. #include "tscsetting.h"
  12. class CPropLocalRes
  13. {
  14. public:
  15. CPropLocalRes(HINSTANCE hInstance, CTscSettings* pTscSet, CSH* pSh);
  16. ~CPropLocalRes();
  17. static CPropLocalRes* CPropLocalRes::_pPropLocalResInstance;
  18. static INT_PTR CALLBACK StaticPropPgLocalResDialogProc (HWND hwndDlg,
  19. UINT uMsg,
  20. WPARAM wParam,
  21. LPARAM lParam);
  22. void SetTabDisplayArea(RECT& rc) {_rcTabDispayArea = rc;}
  23. private:
  24. //Local resources tab
  25. INT_PTR CALLBACK PropPgLocalResDialogProc (HWND hwndDlg,
  26. UINT uMsg,
  27. WPARAM wParam,
  28. LPARAM lParam);
  29. //
  30. // Tab property page helpers
  31. //
  32. BOOL LoadLocalResourcesPgStrings();
  33. void InitSendKeysToServerCombo(HWND hwndPropPage);
  34. void InitPlaySoundCombo(HWND hwndPropPage);
  35. int MapComboIdxSoundRedirMode(int idx);
  36. private:
  37. CTscSettings* _pTscSet;
  38. CSH* _pSh;
  39. RECT _rcTabDispayArea;
  40. HINSTANCE _hInstance;
  41. //Strings for keyboard hooking feature
  42. TCHAR _szSendKeysInFScreen[SH_DISPLAY_STRING_MAX_LENGTH];
  43. TCHAR _szSendKeysAlways[SH_DISPLAY_STRING_MAX_LENGTH];
  44. TCHAR _szSendKeysNever[SH_DISPLAY_STRING_MAX_LENGTH];
  45. //Strings for sound options
  46. TCHAR _szPlaySoundLocal[SH_DISPLAY_STRING_MAX_LENGTH];
  47. TCHAR _szPlaySoundRemote[SH_DISPLAY_STRING_MAX_LENGTH];
  48. TCHAR _szPlaySoundNowhere[SH_DISPLAY_STRING_MAX_LENGTH];
  49. BOOL _fRunningOnWin9x;
  50. };
  51. #endif // _proplocalres_h_