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.

237 lines
11 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: F O L D R E S . H
  7. //
  8. // Contents: Folder resources
  9. //
  10. // Notes:
  11. //
  12. // Author: jeffspr 29 Sep 1997
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. // Foldres owns from 0-1, and 10000 - 15999
  17. // Connections folder icon
  18. //
  19. #define IDI_CONNECTIONS_FOLDER_LARGE 0
  20. #define IDI_CONNECTIONS_FOLDER_LARGE2 5
  21. // NT4 .RNK file icon
  22. //
  23. #define IDI_RNK_FILE 1 // NT4 .RNK file
  24. // PBK file icon
  25. //
  26. #define IDI_PBK_FILE 2 // .BPK file
  27. // The item icon for the wizard
  28. //
  29. #define IDI_CONFOLD_WIZARD 3
  30. #define IDI_CONFOLD_HOMENET_WIZARD 4
  31. // Toolbar bitmap
  32. #define IDB_TB_SMALL 10100
  33. // Dialog
  34. #define IDD_STATUS 10500
  35. #define IDC_TXT_STATUS 10501
  36. // Message Strings
  37. #define IDS_STATUS_BRIDGE_CREATION 10600
  38. #define IDS_STATUS_BRIDGE_DELETING 10601
  39. #define IDS_STATUS_BRIDGE_REMOVE_MEMBER 10602
  40. #define IDS_CONFOLD_BRIDGE_NOLOCK 10603
  41. #define IDS_BRIDGE_EDUCATION 10604
  42. #define IDS_CONFOLD_BRIDGE_UNEXPECTED 10605
  43. #define IDS_BRIDGE_EDUCATION_2 10606
  44. #define IDS_BRIDGE_CLUSTERING_CONFLICT_WARNING 10607
  45. //---[ Menus, etc ]------------------------------------------------------------
  46. // $$NOTE - Don't change the ordering of these menus, at least not the
  47. // relation of CONNECTED, DISCONNECTED, and UNAVAILABLE. The code uses
  48. // this ordering to decide which of the three menus to bring up based
  49. // on the state of the connection
  50. //
  51. #define MENU_WIZARD 11000
  52. #define MENU_WIZARD_V 11001
  53. #define MENU_LAN_DISCON 11010
  54. #define MENU_LAN_DISCON_V 11011
  55. #define MENU_LAN_CON 11012
  56. #define MENU_LAN_CON_V 11013
  57. #define MENU_LAN_UNAVAIL 11014
  58. #define MENU_LAN_UNAVAIL_V 11015
  59. #define MENU_DIAL_DISCON 11020
  60. #define MENU_DIAL_DISCON_V 11021
  61. #define MENU_DIAL_CON 11022
  62. #define MENU_DIAL_CON_V 11023
  63. #define MENU_DIAL_UNAVAIL 11024
  64. #define MENU_DIAL_UNAVAIL_V 11025
  65. #define MENU_DIAL_CON_UNSET 11026
  66. #define MENU_DIAL_DISCON_UNSET 11027
  67. #define MENU_DIAL_UNAVAIL_UNSET 11028
  68. #define MENU_INCOM_DISCON 11030
  69. #define MENU_INCOM_DISCON_V 11031
  70. #define MENU_INCOM_CON 11032
  71. #define MENU_INCOM_CON_V 11033
  72. #define MENU_INCOM_UNAVAIL 11034
  73. #define MENU_INCOM_UNAVAIL_V 11035
  74. #define MENU_INET_DISCON 11040
  75. #define MENU_INET_DISCON_V 11041
  76. #define MENU_INET_CON 11042
  77. #define MENU_INET_CON_V 11043
  78. #define MENU_INET_UNAVAIL 11044
  79. #define MENU_INET_UNAVAIL_V 11045
  80. #define MENU_SALAN_CON 11050
  81. #define MENU_SALAN_DISCON 11051
  82. #define MENU_SARAS_CON 11052
  83. #define MENU_SARAS_DISCON 11053
  84. #define MENU_MERGE_INBOUND_DISCON 11100
  85. #define MENU_MERGE_INBOUND_CON 11101
  86. #define MENU_MERGE_INBOUND_UNAVAIL 11102
  87. #define MENU_MERGE_OUTBOUND_DISCON 11103
  88. #define MENU_MERGE_OUTBOUND_CON 11104
  89. #define MENU_MERGE_OUTBOUND_UNAVAIL 11105
  90. #define MENU_MERGE_FOLDER_BACKGROUND 11110
  91. #define POPUP_MERGE_FOLDER_CONNECTIONS 11112
  92. #define MENU_DIAL98_UNAVAIL_V 11113
  93. //---[ Commands (context/menus) ]----------------------------------------------
  94. #define CMIDM_FIRST 0x0000
  95. #define CMIDM_NEW_CONNECTION (CMIDM_FIRST + 0x0001)
  96. #define CMIDM_CONNECT (CMIDM_FIRST + 0x0002)
  97. #define CMIDM_DISCONNECT (CMIDM_FIRST + 0x0003)
  98. #define CMIDM_STATUS (CMIDM_FIRST + 0x0004)
  99. #define CMIDM_CREATE_SHORTCUT (CMIDM_FIRST + 0x0005)
  100. #define CMIDM_DELETE (CMIDM_FIRST + 0x0006)
  101. #define CMIDM_RENAME (CMIDM_FIRST + 0x0007)
  102. #define CMIDM_PROPERTIES (CMIDM_FIRST + 0x0008)
  103. #define CMIDM_CREATE_COPY (CMIDM_FIRST + 0x0009)
  104. #define CMIDM_ENABLE (CMIDM_FIRST + 0x0010)
  105. #define CMIDM_DISABLE (CMIDM_FIRST + 0x0011)
  106. #define CMIDM_CREATE_BRIDGE (CMIDM_FIRST + 0x0012)
  107. #define CMIDM_ADD_TO_BRIDGE (CMIDM_FIRST + 0x0013)
  108. #define CMIDM_REMOVE_FROM_BRIDGE (CMIDM_FIRST + 0x0014)
  109. #define CMIDM_SET_DEFAULT (CMIDM_FIRST + 0x0015)
  110. #define CMIDM_UNSET_DEFAULT (CMIDM_FIRST + 0x0016)
  111. #define CMIDM_FIX (CMIDM_FIRST + 0x0017)
  112. #define CMIDM_WZCDLG_SHOW (CMIDM_FIRST + 0x0018)
  113. #define CMIDM_WZCPROPERTIES (CMIDM_FIRST + 0x0019)
  114. // We use different command IDs for the Connections Menu because they're
  115. // mostly duplicates of what's found in the File menu, and having
  116. // dupes prevents correct enable/disable by ID.
  117. //
  118. #define CMIDM_CONNECTIONS (CMIDM_FIRST + 0x0020)
  119. #define CMIDM_CONMENU_DIALUP_PREFS (CMIDM_FIRST + 0x0021)
  120. #define CMIDM_CONMENU_ADVANCED_CONFIG (CMIDM_FIRST + 0x0022)
  121. #define CMIDM_CONMENU_NETWORK_ID (CMIDM_FIRST + 0x0023)
  122. #define CMIDM_CONMENU_OPERATOR_ASSIST (CMIDM_FIRST + 0x0024)
  123. #define CMIDM_CONMENU_OPTIONALCOMPONENTS (CMIDM_FIRST + 0x0025)
  124. #define CMIDM_ARRANGE (CMIDM_FIRST + 0x0026)
  125. #define CMIDM_ARRANGE_BY_NAME (CMIDM_FIRST + 0x0027)
  126. #define CMIDM_ARRANGE_BY_TYPE (CMIDM_FIRST + 0x0028)
  127. #define CMIDM_ARRANGE_BY_STATUS (CMIDM_FIRST + 0x0029)
  128. #define CMIDM_ARRANGE_BY_OWNER (CMIDM_FIRST + 0x0030)
  129. #define CMIDM_ARRANGE_BY_PHONEORHOSTADDRESS (CMIDM_FIRST + 0x0031)
  130. #define CMIDM_ARRANGE_BY_DEVICE_NAME (CMIDM_FIRST + 0x0032)
  131. #define CMIDM_CONMENU_CREATE_BRIDGE (CMIDM_FIRST + 0x0033)
  132. #define CMIDM_HOMENET_WIZARD (CMIDM_FIRST + 0x0034)
  133. #define CMIDM_NET_DIAGNOSTICS (CMIDM_FIRST + 0x0035)
  134. #define CMIDM_NET_TROUBLESHOOT (CMIDM_FIRST + 0x0036)
  135. // Debug only commands
  136. //
  137. #if DBG
  138. #define CMIDM_DEBUG (CMIDM_FIRST + 0x0040)
  139. #define CMIDM_DEBUG_TRAY (CMIDM_FIRST + 0x0041)
  140. #define CMIDM_DEBUG_TRACING (CMIDM_FIRST + 0x0042)
  141. #define CMIDM_DEBUG_NOTIFYADD (CMIDM_FIRST + 0x0044)
  142. #define CMIDM_DEBUG_NOTIFYREMOVE (CMIDM_FIRST + 0x0045)
  143. #define CMIDM_DEBUG_NOTIFYTEST (CMIDM_FIRST + 0x0046)
  144. #define CMIDM_DEBUG_REFRESH (CMIDM_FIRST + 0x0047)
  145. #define CMIDM_DEBUG_REFRESHNOFLUSH (CMIDM_FIRST + 0x0048)
  146. #define CMIDM_DEBUG_REFRESHSELECTED (CMIDM_FIRST + 0x0049)
  147. #define CMIDM_DEBUG_REMOVETRAYICONS (CMIDM_FIRST + 0x004A)
  148. #endif
  149. // Menu options
  150. //
  151. #define IDM_OPEN 11200
  152. //---[ Strings for command ID's (shows in status line) ]-----------------------
  153. //
  154. #define IDS_CMIDM_START 12000
  155. #define IDS_CMIDM_NEW_CONNECTION (IDS_CMIDM_START + CMIDM_NEW_CONNECTION)
  156. #define IDS_CMIDM_CONNECT (IDS_CMIDM_START + CMIDM_CONNECT)
  157. #define IDS_CMIDM_ENABLE (IDS_CMIDM_START + CMIDM_ENABLE)
  158. #define IDS_CMIDM_DISCONNECT (IDS_CMIDM_START + CMIDM_DISCONNECT)
  159. #define IDS_CMIDM_DISABLE (IDS_CMIDM_START + CMIDM_DISABLE)
  160. #define IDS_CMIDM_STATUS (IDS_CMIDM_START + CMIDM_STATUS)
  161. #define IDS_CMIDM_CREATE_SHORTCUT (IDS_CMIDM_START + CMIDM_CREATE_SHORTCUT)
  162. #define IDS_CMIDM_DELETE (IDS_CMIDM_START + CMIDM_DELETE)
  163. #define IDS_CMIDM_RENAME (IDS_CMIDM_START + CMIDM_RENAME)
  164. #define IDS_CMIDM_PROPERTIES (IDS_CMIDM_START + CMIDM_PROPERTIES)
  165. #define IDS_CMIDM_CREATE_COPY (IDS_CMIDM_START + CMIDM_CREATE_COPY)
  166. #define IDS_CMIDM_CREATE_BRIDGE (IDS_CMIDM_START + CMIDM_CREATE_BRIDGE)
  167. #define IDS_CMIDM_ADD_TO_BRIDGE (IDS_CMIDM_START + CMIDM_ADD_TO_BRIDGE)
  168. #define IDS_CMIDM_REMOVE_FROM_BRIDGE (IDS_CMIDM_START + CMIDM_REMOVE_FROM_BRIDGE)
  169. #define IDS_CMIDM_SET_DEFAULT (IDS_CMIDM_START + CMIDM_SET_DEFAULT)
  170. #define IDS_CMIDM_UNSET_DEFAULT (IDS_CMIDM_START + CMIDM_UNSET_DEFAULT)
  171. #define IDS_CMIDM_FIX (IDS_CMIDM_START + CMIDM_FIX)
  172. #define IDS_CMIDM_HOMENET_WIZARD (IDS_CMIDM_START + CMIDM_HOMENET_WIZARD)
  173. #define IDS_CMIDM_WZCDLG_SHOW (IDS_CMIDM_START + CMIDM_WZCDLG_SHOW)
  174. #define IDS_CMIDM_NET_TROUBLESHOOT (IDS_CMIDM_START + CMIDM_NET_TROUBLESHOOT)
  175. #define IDS_CMIDM_CONNECTIONS (IDS_CMIDM_START + CMIDM_CONNECTIONS)
  176. #define IDS_CMIDM_CONMENU_DIALUP_PREFS (IDS_CMIDM_START + CMIDM_CONMENU_DIALUP_PREFS)
  177. #define IDS_CMIDM_CONMENU_ADVANCED_CONFIG (IDS_CMIDM_START + CMIDM_CONMENU_ADVANCED_CONFIG)
  178. #define IDS_CMIDM_CONMENU_CREATE_BRIDGE (IDS_CMIDM_START + CMIDM_CONMENU_CREATE_BRIDGE)
  179. #define IDS_CMIDM_CONMENU_NETWORK_ID (IDS_CMIDM_START + CMIDM_CONMENU_NETWORK_ID)
  180. #define IDS_CMIDM_CONMENU_OPERATOR_ASSIST (IDS_CMIDM_START + CMIDM_CONMENU_OPERATOR_ASSIST)
  181. #define IDS_CMIDM_CONMENU_OPTIONALCOMPONENTS (IDS_CMIDM_START + CMIDM_CONMENU_OPTIONALCOMPONENTS)
  182. #define IDS_CMIDM_ARRANGE (IDS_CMIDM_START + CMIDM_ARRANGE)
  183. #define IDS_CMIDM_ARRANGE_BY_NAME (IDS_CMIDM_START + CMIDM_ARRANGE_BY_NAME)
  184. #define IDS_CMIDM_ARRANGE_BY_TYPE (IDS_CMIDM_START + CMIDM_ARRANGE_BY_TYPE)
  185. #define IDS_CMIDM_ARRANGE_BY_STATUS (IDS_CMIDM_START + CMIDM_ARRANGE_BY_STATUS)
  186. #define IDS_CMIDM_ARRANGE_BY_OWNER (IDS_CMIDM_START + CMIDM_ARRANGE_BY_OWNER)
  187. #define IDS_CMIDM_ARRANGE_BY_PHONEORHOSTADDRESS (IDS_CMIDM_START + CMIDM_ARRANGE_BY_PHONEORHOSTADDRESS)
  188. #define IDS_CMIDM_ARRANGE_BY_DEVICE_NAME (IDS_CMIDM_START + CMIDM_ARRANGE_BY_DEVICE_NAME)
  189. // Debug only commands
  190. //
  191. #if DBG
  192. #define IDS_CMIDM_DEBUG (IDS_CMIDM_START + CMIDM_DEBUG)
  193. #define IDS_CMIDM_DEBUG_TRAY (IDS_CMIDM_START + CMIDM_DEBUG_TRAY)
  194. #define IDS_CMIDM_DEBUG_TRACING (IDS_CMIDM_START + CMIDM_DEBUG_TRACING)
  195. #define IDS_CMIDM_DEBUG_NOTIFYADD (IDS_CMIDM_START + CMIDM_DEBUG_NOTIFYADD)
  196. #define IDS_CMIDM_DEBUG_NOTIFYREMOVE (IDS_CMIDM_START + CMIDM_DEBUG_NOTIFYREMOVE)
  197. #define IDS_CMIDM_DEBUG_NOTIFYTEST (IDS_CMIDM_START + CMIDM_DEBUG_NOTIFYTEST)
  198. #define IDS_CMIDM_DEBUG_REFRESH (IDS_CMIDM_START + CMIDM_DEBUG_REFRESH)
  199. #define IDS_CMIDM_DEBUG_REFRESHNOFLUSH (IDS_CMIDM_START + CMIDM_DEBUG_REFRESHNOFLUSH)
  200. #define IDS_CMIDM_DEBUG_REFRESHSELECTED (IDS_CMIDM_START + CMIDM_DEBUG_REFRESHSELECTED)
  201. #define IDS_CMIDM_DEBUG_REMOVETRAYICONS (IDS_CMIDM_START + CMIDM_DEBUG_REMOVETRAYICONS)
  202. #endif