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.

300 lines
9.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 2000
  6. //
  7. // File: helptable.h
  8. //
  9. //--------------------------------------------------------------------------
  10. //////////////////////////////////////////////////////////////////////////////
  11. #if !defined FA905F5D_C482_4895_BEBB_973466D0D1DA
  12. #define FA905F5D_C482_4895_BEBB_973466D0D1DA
  13. #pragma once
  14. //=============================================================================
  15. // Global Help Table for many Dialog IDs
  16. //
  17. #include <afxdlgs.h>
  18. #include "hlptable.h"
  19. //=============================================================================
  20. // Dialog that handles Context Help -- uses MFC
  21. //
  22. class CHelpDialog : public CDialog // talk back to property sheet
  23. {
  24. DECLARE_DYNCREATE(CHelpDialog)
  25. // Implementation
  26. protected:
  27. // Generated message map functions
  28. //{{AFX_MSG(CHelpDialog)
  29. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  30. afx_msg void OnContextMenu(CWnd* pWnd, ::CPoint point);
  31. //}}AFX_MSG
  32. DECLARE_MESSAGE_MAP()
  33. public:
  34. CHelpDialog(UINT nIDTemplate = 0, CWnd* pParent = NULL) : CDialog(nIDTemplate, pParent)
  35. {
  36. SET_HELP_TABLE(nIDTemplate);
  37. };
  38. // Set (or reset) style flags associated with a button control.
  39. void setButtonStyle(int controlId, long flags, bool set = true);
  40. // Set the focus to a control on the page.
  41. void setFocusControl(int controlId);
  42. protected:
  43. #ifdef _DEBUG
  44. virtual void Dump( CDumpContext& dc ) const
  45. {
  46. dc << _T("CHelpDialog");
  47. };
  48. #endif
  49. protected:
  50. const DWORD* m_pHelpTable;
  51. };
  52. //////////////////////////////////////////////////////////////////////////////
  53. #define IDH_BUTTON_FROMCLIENT 20000353
  54. #define IDH_BUTTON_TOCLIENT 20000354
  55. #define IDH_BUTTONADDROUTE 20000501
  56. #define IDH_BUTTONDELETEROUTE 20000502
  57. #define IDH_BUTTONEDITTIMEOFDAY 20000156
  58. #define IDH_BUTTONSTATICROUTES 20000462
  59. #define IDH_CHECK_PORTTYPES 20000159
  60. #define IDH_CHECKAPPLYSTATICROUTES 20000461
  61. #define IDH_CHECKCALLERID 20000453
  62. #define IDH_CHECKCALLNUMBER 20000157
  63. #define IDH_CHECKIDLE 20000150
  64. #define IDH_CHECKREQUIREBAP 20000307
  65. #define IDH_CHECKRESTRICTPERIOD 20000154
  66. #define IDH_CHECKSESSIONLEN 20000152
  67. #define IDH_CHECKSTATICIPADDRESS 20000459
  68. #define IDH_COMBOUNIT 20000306
  69. #define IDH_EDITCALLBACK 20000458
  70. #define IDH_EDITCALLERID 20000454
  71. #define IDH_EDITCALLNUMBER 20000158
  72. #define IDH_EDITDEST 20000000
  73. #define IDH_EDITIDLETIME 20000151
  74. #define IDH_EDITIPADDRESS 20000460
  75. #define IDH_EDITMASK 20000001
  76. #define IDH_EDITMAXPORTS 20000303
  77. #define IDH_EDITMAXSESSION 20000153
  78. #define IDH_EDITMETRIC 20000002
  79. #define IDH_EDITPERCENT 20000304
  80. #define IDH_EDITTIME 20000305
  81. #define IDH_CHECK_ENC_NONE 20000207
  82. #define IDH_CHECK_ENC_BASIC 20000203
  83. #define IDH_CHECK_ENC_STRONGEST 20000205
  84. #define IDH_CHECK_ENC_STRONG 20000204
  85. #define IDH_ENCRYPTRADIOALLOW 20000201
  86. #define IDH_ENCRYPTRADIODISALLOW 20000200
  87. #define IDH_ENCRYPTRADIOREQUIRE 20000202
  88. #define IDH_IAS_BUTTON_ATTRIBUTE_ADD 20000251
  89. #define IDH_IAS_BUTTON_ATTRIBUTE_EDIT 20000253
  90. #define IDH_IAS_BUTTON_ATTRIBUTE_REMOVE 20000252
  91. #define IDH_IAS_LIST_ATTRIBUTES_IN_PROFILE 20000250
  92. #define IDH_IAS_LIST_ATTRIBUTES_TO_CHOOSE_FROM 20000550
  93. #define IDH_LIST_PORTTYPES 20000160
  94. #define IDH_LISTROUTES 20000500
  95. #define IDH_PERMIT_ALLOW 20000450
  96. #define IDH_PERMIT_DENY 20000451
  97. #define IDH_PERMIT_POLICY 20000452
  98. #define IDH_RADIO_MULNK_MULTI 20000302
  99. #define IDH_RADIO_MULNK_NOTDEFINED 20000300
  100. #define IDH_RADIO_MULNK_SINGLE 20000301
  101. #define IDH_RADIOCLIENT 20000351
  102. #define IDH_RADIODEFAULT 20000352
  103. #define IDH_RADIONOCALLBACK 20000455
  104. #define IDH_RADIOSECURECALLBACKTO 20000457
  105. #define IDH_RADIOSERVER 20000350
  106. #define IDH_EDIT_FRAMED_IP 20000611
  107. #define IDH_RADIOSPECIFIC 20000610
  108. #define IDH_RADIOSETBYCALLER 20000456
  109. #define IDH_AUTH_CONFIG_EAP 20000052
  110. #define IDH_CHECKEAP 20000050
  111. #define IDH_CHECKMD5CHAP 20000055
  112. #define IDH_CHECKMSCHAP 20000054
  113. #define IDH_CHECKMSCHAP2 20000053
  114. #define IDH_CHECKNOAUTHEN 20000058
  115. #define IDH_CHECKPAP 20000056
  116. #define IDH_COMBOEAPTYPE 20000051
  117. #define IDH_SPINPERCENT 30000000
  118. #define IDH_SPINTIME 30000001
  119. #define IDH_SPINMAXPORTS 30000002
  120. #define IDH_CHECK_APC_MSCHAP2 20000612
  121. #define IDH_CHECK_APC_MSCHAP 20000613
  122. #define IDH_IAS_BUTTON_ADD_ATTRIB 20000615
  123. #define IDH_LIST_RESTRICTED 20000614
  124. #define IDH_LIST_EAP_SELECTED 20000620
  125. #define IDH_BUTTON_ADD_EAP_PROVIDER 20000621
  126. #define IDH_BUTTON_EDIT_EAP_PROVIDER 20000622
  127. #define IDH_BUTTON_REMOVE_EAP_PROVIDER 20000623
  128. #define IDH_BUTTON_EAP_UP 20000624
  129. #define IDH_BUTTON_EAP_DOWN 20000625
  130. #define IDH_LIST_EAP_ADD 20000626
  131. #define IDH_EAP_METHODS 20000627
  132. const DWORD g_aHelpIDs_IDD_ADDROUTE[]=
  133. {
  134. IDC_EDITMASK,IDH_EDITMASK,
  135. IDC_EDITMETRIC,IDH_EDITMETRIC,
  136. IDC_EDITDEST,IDH_EDITDEST,
  137. 0, 0
  138. };
  139. const DWORD g_aHelpIDs_IDD_AUTHENTICATION_MERGE[]=
  140. {
  141. IDC_CHECKNOAUTHEN,IDH_CHECKNOAUTHEN,
  142. IDC_CHECKPAP,IDH_CHECKPAP,
  143. IDC_CHECKMD5CHAP,IDH_CHECKMD5CHAP,
  144. IDC_CHECKMSCHAP2,IDH_CHECKMSCHAP2,
  145. IDC_CHECKMSCHAP,IDH_CHECKMSCHAP,
  146. IDC_CHECKMSCHAPPASS,IDH_CHECK_APC_MSCHAP,
  147. IDC_CHECKMSCHAP2PASS,IDH_CHECK_APC_MSCHAP2,
  148. IDC_EAP_METHODS, IDH_EAP_METHODS,
  149. 0, 0
  150. };
  151. const DWORD g_aHelpIDs_IDD_AUTHENTICATION_MERGE2K[]=
  152. {
  153. IDC_CHECKNOAUTHEN,IDH_CHECKNOAUTHEN,
  154. IDC_CHECKPAP,IDH_CHECKPAP,
  155. IDC_CHECKMD5CHAP,IDH_CHECKMD5CHAP,
  156. IDC_CHECKMSCHAP2,IDH_CHECKMSCHAP2,
  157. IDC_CHECKMSCHAP,IDH_CHECKMSCHAP,
  158. IDC_AUTH_CONFIG_EAP,IDH_AUTH_CONFIG_EAP,
  159. IDC_COMBOEAPTYPE,IDH_COMBOEAPTYPE,
  160. IDC_CHECKEAP,IDH_CHECKEAP,
  161. IDC_CHECKMSCHAPPASS,IDH_CHECK_APC_MSCHAP,
  162. IDC_CHECKMSCHAP2PASS,IDH_CHECK_APC_MSCHAP2,
  163. 0, 0
  164. };
  165. const DWORD g_aHelpIDs_IDD_CONSTRAINTS_MERGE[]=
  166. {
  167. IDC_LIST_PORTTYPES,IDH_LIST_PORTTYPES,
  168. IDC_CHECK_PORTTYPES,IDH_CHECK_PORTTYPES,
  169. IDC_EDITCALLNUMBER,IDH_EDITCALLNUMBER,
  170. IDC_BUTTONEDITTIMEOFDAY,IDH_BUTTONEDITTIMEOFDAY,
  171. IDC_LISTTIMEOFDAY, IDH_LIST_RESTRICTED,
  172. IDC_CHECKRESTRICTPERIOD,IDH_CHECKRESTRICTPERIOD,
  173. IDC_CHECKIDLE,IDH_CHECKIDLE,
  174. IDC_EDITMAXSESSION,IDH_EDITMAXSESSION,
  175. IDC_CHECKSESSIONLEN,IDH_CHECKSESSIONLEN,
  176. IDC_EDITIDLETIME,IDH_EDITIDLETIME,
  177. IDC_CHECKCALLNUMBER,IDH_CHECKCALLNUMBER,
  178. 0, 0
  179. };
  180. const DWORD g_aHelpIDs_IDD_ENCRYPTION_MERGE[]=
  181. {
  182. IDC_CHECK_ENC_NONE,IDH_CHECK_ENC_NONE,
  183. IDC_CHECK_ENC_BASIC,IDH_CHECK_ENC_BASIC,
  184. IDC_CHECK_ENC_STRONG,IDH_CHECK_ENC_STRONG,
  185. IDC_CHECK_ENC_STRONGEST,IDH_CHECK_ENC_STRONGEST,
  186. 0, 0
  187. };
  188. const DWORD g_aHelpIDs_IDD_IAS_ADVANCED_TAB[]=
  189. {
  190. IDC_IAS_LIST_ATTRIBUTES_IN_PROFILE,IDH_IAS_LIST_ATTRIBUTES_IN_PROFILE,
  191. IDC_IAS_BUTTON_ATTRIBUTE_ADD,IDH_IAS_BUTTON_ATTRIBUTE_ADD,
  192. IDC_IAS_BUTTON_ATTRIBUTE_REMOVE,IDH_IAS_BUTTON_ATTRIBUTE_REMOVE,
  193. IDC_IAS_BUTTON_ATTRIBUTE_EDIT,IDH_IAS_BUTTON_ATTRIBUTE_EDIT,
  194. 0, 0
  195. };
  196. const DWORD g_aHelpIDs_IDD_IAS_ATTRIBUTE_ADD[]=
  197. {
  198. IDC_IAS_LIST_ATTRIBUTES_TO_CHOOSE_FROM,IDH_IAS_LIST_ATTRIBUTES_TO_CHOOSE_FROM,
  199. IDC_IAS_BUTTON_ATTRIBUTE_ADD_SELECTED,IDH_IAS_BUTTON_ATTRIBUTE_ADD,
  200. 0, 0
  201. };
  202. const DWORD g_aHelpIDs_IDD_MULTILINK_MERGE[]=
  203. {
  204. IDC_RADIO_MULNK_MULTI,IDH_RADIO_MULNK_MULTI,
  205. IDC_RADIO_MULNK_SINGLE,IDH_RADIO_MULNK_SINGLE,
  206. IDC_EDITMAXPORTS,IDH_EDITMAXPORTS,
  207. IDC_EDITPERCENT,IDH_EDITPERCENT,
  208. IDC_EDITTIME,IDH_EDITTIME,
  209. IDC_COMBOUNIT,IDH_COMBOUNIT,
  210. IDC_CHECKREQUIREBAP,IDH_CHECKREQUIREBAP,
  211. IDC_RADIO_MULNK_NOTDEFINED,IDH_RADIO_MULNK_NOTDEFINED,
  212. IDC_SPINPERCENT,IDH_SPINPERCENT,
  213. IDC_SPINTIME,IDH_SPINTIME,
  214. IDC_SPINMAXPORTS,IDH_SPINMAXPORTS,
  215. 0, 0
  216. };
  217. const DWORD g_aHelpIDs_IDD_NETWORKING_MERGE[]=
  218. {
  219. IDC_BUTTON_FROMCLIENT,IDH_BUTTON_FROMCLIENT,
  220. IDC_BUTTON_TOCLIENT,IDH_BUTTON_TOCLIENT,
  221. IDC_RADIODEFAULT,IDH_RADIODEFAULT,
  222. IDC_RADIOCLIENT,IDH_RADIOCLIENT,
  223. IDC_RADIOSERVER,IDH_RADIOSERVER,
  224. IDC_RADIOSTATIC,IDH_RADIOSPECIFIC,
  225. IDC_EDIT_STATIC_IP_ADDRESS,IDH_EDIT_FRAMED_IP,
  226. 0, 0
  227. };
  228. const DWORD g_aHelpIDs_IDD_RASDIALIN_MERGE[]=
  229. {
  230. IDC_RADIOSECURECALLBACKTO,IDH_RADIOSECURECALLBACKTO,
  231. IDC_BUTTONSTATICROUTES,IDH_BUTTONSTATICROUTES,
  232. IDC_CHECKAPPLYSTATICROUTES,IDH_CHECKAPPLYSTATICROUTES,
  233. IDC_EDITIPADDRESS,IDH_EDITIPADDRESS,
  234. IDC_CHECKSTATICIPADDRESS,IDH_CHECKSTATICIPADDRESS,
  235. IDC_EDITCALLBACK,IDH_EDITCALLBACK,
  236. IDC_RADIOSETBYCALLER,IDH_RADIOSETBYCALLER,
  237. IDC_RADIONOCALLBACK,IDH_RADIONOCALLBACK,
  238. IDC_EDITCALLERID,IDH_EDITCALLERID,
  239. IDC_CHECKCALLERID,IDH_CHECKCALLERID,
  240. IDC_PERMIT_POLICY,IDH_PERMIT_POLICY,
  241. IDC_PERMIT_ALLOW,IDH_PERMIT_ALLOW,
  242. IDC_PERMIT_DENY,IDH_PERMIT_DENY,
  243. 0, 0
  244. };
  245. const DWORD g_aHelpIDs_IDD_STATICROUTES[]=
  246. {
  247. IDC_BUTTONDELETEROUTE,IDH_BUTTONDELETEROUTE,
  248. IDC_LISTROUTES,IDH_LISTROUTES,
  249. IDC_BUTTONADDROUTE,IDH_BUTTONADDROUTE,
  250. 0, 0
  251. };
  252. //////////
  253. // EAP Pages
  254. //////////
  255. const DWORD g_aHelpIDs_IDD_EAP_NEGOCIATE[]=
  256. {
  257. IDC_LIST_EAP_SELECTED, IDH_LIST_EAP_SELECTED,
  258. IDC_BUTTON_ADD_EAP_PROVIDER, IDH_BUTTON_ADD_EAP_PROVIDER,
  259. IDC_BUTTON_EDIT_EAP_PROVIDER, IDH_BUTTON_EDIT_EAP_PROVIDER,
  260. IDC_BUTTON_REMOVE_EAP_PROVIDER, IDH_BUTTON_REMOVE_EAP_PROVIDER,
  261. IDC_BUTTON_EAP_UP, IDH_BUTTON_EAP_UP,
  262. IDC_BUTTON_EAP_DOWN, IDH_BUTTON_EAP_DOWN,
  263. 0,0
  264. };
  265. const DWORD g_aHelpIDs_IDD_EAP_ADD[]=
  266. {
  267. IDC_LIST_EAP_ADD, IDH_LIST_EAP_ADD,
  268. 0,0
  269. };
  270. #endif // FA905F5D_C482_4895_BEBB_973466D0D1DA