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.

224 lines
5.7 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*******************************************************************************
  3. *
  4. * dialogs.h
  5. *
  6. * interface of WINCFG dialogs
  7. *
  8. * copyright notice: Copyright 1996, Citrix Systems Inc.
  9. *
  10. * $Author: donm $ Butch Davis
  11. *
  12. * $Log: N:\nt\private\utils\citrix\winutils\tscfg\VCS\dialogs.h $
  13. *
  14. * Rev 1.31 18 Apr 1998 15:32:58 donm
  15. * Added capability bits
  16. *
  17. * Rev 1.30 13 Jan 1998 14:08:22 donm
  18. * gets encryption levels from extension DLL
  19. *
  20. * Rev 1.29 31 Jul 1997 16:33:26 butchd
  21. * update
  22. *
  23. * Rev 1.28 27 Sep 1996 17:52:24 butchd
  24. * update
  25. *
  26. *******************************************************************************/
  27. /*
  28. * Include the base dialog class.
  29. */
  30. #include "basedlg.h"
  31. #define ULONG_DIGIT_MAX 12
  32. #define UINT_DIGIT_MAX 7
  33. #define UCHAR_DIGIT_MAX 5
  34. ////////////////////////////////////////////////////////////////////////////////
  35. // CAdvancedWinStationDlg class
  36. //
  37. class CAdvancedWinStationDlg : public CBaseDialog
  38. {
  39. /*
  40. * Member variables.
  41. */
  42. //{{AFX_DATA(CAdvancedWinStationDlg)
  43. enum { IDD = IDD_ADVANCED_WINSTATION };
  44. // NOTE: the ClassWizard will add data members here
  45. //}}AFX_DATA
  46. public:
  47. ULONG m_fEnableWinStation: 1;
  48. USERCONFIG m_UserConfig;
  49. // HOTKEYTABLECONFIG m_Hotkeys;
  50. int m_CurrentHotkeyType;
  51. BOOL m_bReadOnly;
  52. BOOL m_bSystemConsole;
  53. PTERMLOBJECT m_pTermObject;
  54. ULONG m_Capabilities;
  55. private:
  56. EncryptionLevel *m_pEncryptionLevels;
  57. ULONG m_NumEncryptionLevels;
  58. WORD m_DefaultEncryptionLevelIndex;
  59. /*
  60. * Implementation.
  61. */
  62. public:
  63. CAdvancedWinStationDlg();
  64. /*
  65. * Operations.
  66. */
  67. protected:
  68. BOOL HandleEnterEscKey(int nID);
  69. /*
  70. * Message map / commands.
  71. */
  72. protected:
  73. //{{AFX_MSG(CAdvancedWinStationDlg)
  74. virtual BOOL OnInitDialog();
  75. afx_msg void OnClickedAwsConnectionNone();
  76. afx_msg void OnClickedAwsConnectionInherit();
  77. afx_msg void OnClickedAwsDisconnectionNone();
  78. afx_msg void OnClickedAwsDisconnectionInherit();
  79. afx_msg void OnClickedAwsIdleNone();
  80. afx_msg void OnClickedAwsIdleInherit();
  81. afx_msg void OnClickedAwsAutologonInherit();
  82. afx_msg void OnClickedAwsPromptForPassword();
  83. afx_msg void OnClickedAwsInitialprogramInherit();
  84. afx_msg void OnClickedAwsSecurityDisableencryption();
  85. afx_msg void OnClickedAwsUseroverrideDisablewallpaper();
  86. afx_msg void OnClickedAwsBrokenInherit();
  87. afx_msg void OnClickedAwsReconnectInherit();
  88. afx_msg void OnClickedAwsShadowInherit();
  89. virtual void OnOK();
  90. virtual void OnCancel();
  91. afx_msg void OnClickedAwsInitialprogramPublishedonly();
  92. //}}AFX_MSG
  93. DECLARE_MESSAGE_MAP()
  94. }; // end CAdvancedWinStationDlg class interface
  95. ////////////////////////////////////////////////////////////////////////////////
  96. ////////////////////////////////////////////////////////////////////////////////
  97. // CClientSettingsDlg class
  98. //
  99. class CClientSettingsDlg : public CBaseDialog
  100. {
  101. /*
  102. * Member variables.
  103. */
  104. //{{AFX_DATA(CClientSettingsDlg)
  105. enum { IDD = IDD_CLIENT_SETTINGS };
  106. // NOTE: the ClassWizard will add data members here
  107. //}}AFX_DATA
  108. public:
  109. USERCONFIG m_UserConfig;
  110. BOOL m_bReadOnly;
  111. ULONG m_Capabilities;
  112. /*
  113. * Implementation.
  114. */
  115. public:
  116. CClientSettingsDlg();
  117. /*
  118. * Operations.
  119. */
  120. protected:
  121. /*
  122. * Message map / commands.
  123. */
  124. protected:
  125. //{{AFX_MSG(CClientSettingsDlg)
  126. virtual BOOL OnInitDialog();
  127. afx_msg void OnClickedCsClientdevicesDrives();
  128. afx_msg void OnClickedCsClientdevicesPrinters();
  129. afx_msg void OnClickedCsClientdevicesInherit();
  130. afx_msg void OnClickedCsClientdevicesForceprtdef();
  131. afx_msg void OnClickedCsMappingDrives();
  132. afx_msg void OnClickedCsMappingWindowsprinters();
  133. afx_msg void OnClickedCsMappingDoslpts();
  134. afx_msg void OnClickedCsMappingComports();
  135. afx_msg void OnClickedCsMappingClipboard();
  136. virtual void OnOK();
  137. virtual void OnCancel();
  138. afx_msg void OnClickedCsMappingAudio();
  139. //}}AFX_MSG
  140. DECLARE_MESSAGE_MAP()
  141. }; // end CClientSettingsDlg class interface
  142. ////////////////////////////////////////////////////////////////////////////////
  143. ////////////////////////////////////////////////////////////////////////////////
  144. // CAdvancedAsyncDlg class
  145. //
  146. class CAdvancedAsyncDlg : public CBaseDialog
  147. {
  148. /*
  149. * Member variables.
  150. */
  151. //{{AFX_DATA(CAdvancedAsyncDlg)
  152. enum { IDD = IDD_ASYNC_ADVANCED };
  153. // NOTE: the ClassWizard will add data members here
  154. //}}AFX_DATA
  155. public:
  156. ASYNCCONFIG m_Async;
  157. BOOL m_bReadOnly;
  158. BOOL m_bModem;
  159. int m_nHexBase;
  160. ULONG m_nWdFlag;
  161. /*
  162. * Implementation.
  163. */
  164. public:
  165. CAdvancedAsyncDlg();
  166. /*
  167. * Operations.
  168. */
  169. protected:
  170. BOOL HandleEnterEscKey(int nID);
  171. void SetFields();
  172. void SetHWFlowText();
  173. void SetGlobalFields();
  174. void SetHWFields();
  175. void SetSWFields();
  176. BOOL GetFields();
  177. void GetFlowControlFields();
  178. BOOL GetGlobalFields();
  179. BOOL GetHWFields();
  180. BOOL GetSWFields( BOOL bValidate );
  181. /*
  182. * Message map / commands.
  183. */
  184. protected:
  185. //{{AFX_MSG(CAdvancedAsyncDlg)
  186. virtual BOOL OnInitDialog();
  187. afx_msg void OnClickedAsyncAdvancedFlowcontrolHardware();
  188. afx_msg void OnClickedAsyncAdvancedFlowcontrolSoftware();
  189. afx_msg void OnClickedAsyncAdvancedFlowcontrolNone();
  190. afx_msg void OnClickedAsyncAdvancedBasedec();
  191. afx_msg void OnClickedAsyncAdvancedBasehex();
  192. afx_msg void OnCloseupAsyncAdvancedHwrx();
  193. afx_msg void OnSelchangeAsyncAdvancedHwrx();
  194. afx_msg void OnCloseupAsyncAdvancedHwtx();
  195. afx_msg void OnSelchangeAsyncAdvancedHwtx();
  196. virtual void OnOK();
  197. virtual void OnCancel();
  198. //}}AFX_MSG
  199. DECLARE_MESSAGE_MAP()
  200. }; // end CAdvancedAsyncDlg class interface
  201. ////////////////////////////////////////////////////////////////////////////////