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.

235 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. //---[ Menus, etc ]------------------------------------------------------------
  44. // $$NOTE - Don't change the ordering of these menus, at least not the
  45. // relation of CONNECTED, DISCONNECTED, and UNAVAILABLE. The code uses
  46. // this ordering to decide which of the three menus to bring up based
  47. // on the state of the connection
  48. //
  49. #define MENU_WIZARD 11000
  50. #define MENU_WIZARD_V 11001
  51. #define MENU_LAN_DISCON 11010
  52. #define MENU_LAN_DISCON_V 11011
  53. #define MENU_LAN_CON 11012
  54. #define MENU_LAN_CON_V 11013
  55. #define MENU_LAN_UNAVAIL 11014
  56. #define MENU_LAN_UNAVAIL_V 11015
  57. #define MENU_DIAL_DISCON 11020
  58. #define MENU_DIAL_DISCON_V 11021
  59. #define MENU_DIAL_CON 11022
  60. #define MENU_DIAL_CON_V 11023
  61. #define MENU_DIAL_UNAVAIL 11024
  62. #define MENU_DIAL_UNAVAIL_V 11025
  63. #define MENU_DIAL_CON_UNSET 11026
  64. #define MENU_DIAL_DISCON_UNSET 11027
  65. #define MENU_DIAL_UNAVAIL_UNSET 11028
  66. #define MENU_INCOM_DISCON 11030
  67. #define MENU_INCOM_DISCON_V 11031
  68. #define MENU_INCOM_CON 11032
  69. #define MENU_INCOM_CON_V 11033
  70. #define MENU_INCOM_UNAVAIL 11034
  71. #define MENU_INCOM_UNAVAIL_V 11035
  72. #define MENU_INET_DISCON 11040
  73. #define MENU_INET_DISCON_V 11041
  74. #define MENU_INET_CON 11042
  75. #define MENU_INET_CON_V 11043
  76. #define MENU_INET_UNAVAIL 11044
  77. #define MENU_INET_UNAVAIL_V 11045
  78. #define MENU_SALAN_CON 11050
  79. #define MENU_SALAN_DISCON 11051
  80. #define MENU_SARAS_CON 11052
  81. #define MENU_SARAS_DISCON 11053
  82. #define MENU_MERGE_INBOUND_DISCON 11100
  83. #define MENU_MERGE_INBOUND_CON 11101
  84. #define MENU_MERGE_INBOUND_UNAVAIL 11102
  85. #define MENU_MERGE_OUTBOUND_DISCON 11103
  86. #define MENU_MERGE_OUTBOUND_CON 11104
  87. #define MENU_MERGE_OUTBOUND_UNAVAIL 11105
  88. #define MENU_MERGE_FOLDER_BACKGROUND 11110
  89. #define POPUP_MERGE_FOLDER_CONNECTIONS 11112
  90. #define MENU_DIAL98_UNAVAIL_V 11113
  91. //---[ Commands (context/menus) ]----------------------------------------------
  92. #define CMIDM_FIRST 0x0000
  93. #define CMIDM_NEW_CONNECTION (CMIDM_FIRST + 0x0001)
  94. #define CMIDM_CONNECT (CMIDM_FIRST + 0x0002)
  95. #define CMIDM_DISCONNECT (CMIDM_FIRST + 0x0003)
  96. #define CMIDM_STATUS (CMIDM_FIRST + 0x0004)
  97. #define CMIDM_CREATE_SHORTCUT (CMIDM_FIRST + 0x0005)
  98. #define CMIDM_DELETE (CMIDM_FIRST + 0x0006)
  99. #define CMIDM_RENAME (CMIDM_FIRST + 0x0007)
  100. #define CMIDM_PROPERTIES (CMIDM_FIRST + 0x0008)
  101. #define CMIDM_CREATE_COPY (CMIDM_FIRST + 0x0009)
  102. #define CMIDM_ENABLE (CMIDM_FIRST + 0x0010)
  103. #define CMIDM_DISABLE (CMIDM_FIRST + 0x0011)
  104. #define CMIDM_CREATE_BRIDGE (CMIDM_FIRST + 0x0012)
  105. #define CMIDM_ADD_TO_BRIDGE (CMIDM_FIRST + 0x0013)
  106. #define CMIDM_REMOVE_FROM_BRIDGE (CMIDM_FIRST + 0x0014)
  107. #define CMIDM_SET_DEFAULT (CMIDM_FIRST + 0x0015)
  108. #define CMIDM_UNSET_DEFAULT (CMIDM_FIRST + 0x0016)
  109. #define CMIDM_FIX (CMIDM_FIRST + 0x0017)
  110. #define CMIDM_WZCDLG_SHOW (CMIDM_FIRST + 0x0018)
  111. #define CMIDM_WZCPROPERTIES (CMIDM_FIRST + 0x0019)
  112. // We use different command IDs for the Connections Menu because they're
  113. // mostly duplicates of what's found in the File menu, and having
  114. // dupes prevents correct enable/disable by ID.
  115. //
  116. #define CMIDM_CONNECTIONS (CMIDM_FIRST + 0x0020)
  117. #define CMIDM_CONMENU_DIALUP_PREFS (CMIDM_FIRST + 0x0021)
  118. #define CMIDM_CONMENU_ADVANCED_CONFIG (CMIDM_FIRST + 0x0022)
  119. #define CMIDM_CONMENU_NETWORK_ID (CMIDM_FIRST + 0x0023)
  120. #define CMIDM_CONMENU_OPERATOR_ASSIST (CMIDM_FIRST + 0x0024)
  121. #define CMIDM_CONMENU_OPTIONALCOMPONENTS (CMIDM_FIRST + 0x0025)
  122. #define CMIDM_ARRANGE (CMIDM_FIRST + 0x0026)
  123. #define CMIDM_ARRANGE_BY_NAME (CMIDM_FIRST + 0x0027)
  124. #define CMIDM_ARRANGE_BY_TYPE (CMIDM_FIRST + 0x0028)
  125. #define CMIDM_ARRANGE_BY_STATUS (CMIDM_FIRST + 0x0029)
  126. #define CMIDM_ARRANGE_BY_OWNER (CMIDM_FIRST + 0x0030)
  127. #define CMIDM_ARRANGE_BY_PHONEORHOSTADDRESS (CMIDM_FIRST + 0x0031)
  128. #define CMIDM_ARRANGE_BY_DEVICE_NAME (CMIDM_FIRST + 0x0032)
  129. #define CMIDM_CONMENU_CREATE_BRIDGE (CMIDM_FIRST + 0x0033)
  130. #define CMIDM_HOMENET_WIZARD (CMIDM_FIRST + 0x0034)
  131. #define CMIDM_NET_DIAGNOSTICS (CMIDM_FIRST + 0x0035)
  132. #define CMIDM_NET_TROUBLESHOOT (CMIDM_FIRST + 0x0036)
  133. // Debug only commands
  134. //
  135. #if DBG
  136. #define CMIDM_DEBUG (CMIDM_FIRST + 0x0040)
  137. #define CMIDM_DEBUG_TRAY (CMIDM_FIRST + 0x0041)
  138. #define CMIDM_DEBUG_TRACING (CMIDM_FIRST + 0x0042)
  139. #define CMIDM_DEBUG_NOTIFYADD (CMIDM_FIRST + 0x0044)
  140. #define CMIDM_DEBUG_NOTIFYREMOVE (CMIDM_FIRST + 0x0045)
  141. #define CMIDM_DEBUG_NOTIFYTEST (CMIDM_FIRST + 0x0046)
  142. #define CMIDM_DEBUG_REFRESH (CMIDM_FIRST + 0x0047)
  143. #define CMIDM_DEBUG_REFRESHNOFLUSH (CMIDM_FIRST + 0x0048)
  144. #define CMIDM_DEBUG_REFRESHSELECTED (CMIDM_FIRST + 0x0049)
  145. #define CMIDM_DEBUG_REMOVETRAYICONS (CMIDM_FIRST + 0x004A)
  146. #endif
  147. // Menu options
  148. //
  149. #define IDM_OPEN 11200
  150. //---[ Strings for command ID's (shows in status line) ]-----------------------
  151. //
  152. #define IDS_CMIDM_START 12000
  153. #define IDS_CMIDM_NEW_CONNECTION (IDS_CMIDM_START + CMIDM_NEW_CONNECTION)
  154. #define IDS_CMIDM_CONNECT (IDS_CMIDM_START + CMIDM_CONNECT)
  155. #define IDS_CMIDM_ENABLE (IDS_CMIDM_START + CMIDM_ENABLE)
  156. #define IDS_CMIDM_DISCONNECT (IDS_CMIDM_START + CMIDM_DISCONNECT)
  157. #define IDS_CMIDM_DISABLE (IDS_CMIDM_START + CMIDM_DISABLE)
  158. #define IDS_CMIDM_STATUS (IDS_CMIDM_START + CMIDM_STATUS)
  159. #define IDS_CMIDM_CREATE_SHORTCUT (IDS_CMIDM_START + CMIDM_CREATE_SHORTCUT)
  160. #define IDS_CMIDM_DELETE (IDS_CMIDM_START + CMIDM_DELETE)
  161. #define IDS_CMIDM_RENAME (IDS_CMIDM_START + CMIDM_RENAME)
  162. #define IDS_CMIDM_PROPERTIES (IDS_CMIDM_START + CMIDM_PROPERTIES)
  163. #define IDS_CMIDM_CREATE_COPY (IDS_CMIDM_START + CMIDM_CREATE_COPY)
  164. #define IDS_CMIDM_CREATE_BRIDGE (IDS_CMIDM_START + CMIDM_CREATE_BRIDGE)
  165. #define IDS_CMIDM_ADD_TO_BRIDGE (IDS_CMIDM_START + CMIDM_ADD_TO_BRIDGE)
  166. #define IDS_CMIDM_REMOVE_FROM_BRIDGE (IDS_CMIDM_START + CMIDM_REMOVE_FROM_BRIDGE)
  167. #define IDS_CMIDM_SET_DEFAULT (IDS_CMIDM_START + CMIDM_SET_DEFAULT)
  168. #define IDS_CMIDM_UNSET_DEFAULT (IDS_CMIDM_START + CMIDM_UNSET_DEFAULT)
  169. #define IDS_CMIDM_FIX (IDS_CMIDM_START + CMIDM_FIX)
  170. #define IDS_CMIDM_HOMENET_WIZARD (IDS_CMIDM_START + CMIDM_HOMENET_WIZARD)
  171. #define IDS_CMIDM_WZCDLG_SHOW (IDS_CMIDM_START + CMIDM_WZCDLG_SHOW)
  172. #define IDS_CMIDM_NET_TROUBLESHOOT (IDS_CMIDM_START + CMIDM_NET_TROUBLESHOOT)
  173. #define IDS_CMIDM_CONNECTIONS (IDS_CMIDM_START + CMIDM_CONNECTIONS)
  174. #define IDS_CMIDM_CONMENU_DIALUP_PREFS (IDS_CMIDM_START + CMIDM_CONMENU_DIALUP_PREFS)
  175. #define IDS_CMIDM_CONMENU_ADVANCED_CONFIG (IDS_CMIDM_START + CMIDM_CONMENU_ADVANCED_CONFIG)
  176. #define IDS_CMIDM_CONMENU_CREATE_BRIDGE (IDS_CMIDM_START + CMIDM_CONMENU_CREATE_BRIDGE)
  177. #define IDS_CMIDM_CONMENU_NETWORK_ID (IDS_CMIDM_START + CMIDM_CONMENU_NETWORK_ID)
  178. #define IDS_CMIDM_CONMENU_OPERATOR_ASSIST (IDS_CMIDM_START + CMIDM_CONMENU_OPERATOR_ASSIST)
  179. #define IDS_CMIDM_CONMENU_OPTIONALCOMPONENTS (IDS_CMIDM_START + CMIDM_CONMENU_OPTIONALCOMPONENTS)
  180. #define IDS_CMIDM_ARRANGE (IDS_CMIDM_START + CMIDM_ARRANGE)
  181. #define IDS_CMIDM_ARRANGE_BY_NAME (IDS_CMIDM_START + CMIDM_ARRANGE_BY_NAME)
  182. #define IDS_CMIDM_ARRANGE_BY_TYPE (IDS_CMIDM_START + CMIDM_ARRANGE_BY_TYPE)
  183. #define IDS_CMIDM_ARRANGE_BY_STATUS (IDS_CMIDM_START + CMIDM_ARRANGE_BY_STATUS)
  184. #define IDS_CMIDM_ARRANGE_BY_OWNER (IDS_CMIDM_START + CMIDM_ARRANGE_BY_OWNER)
  185. #define IDS_CMIDM_ARRANGE_BY_PHONEORHOSTADDRESS (IDS_CMIDM_START + CMIDM_ARRANGE_BY_PHONEORHOSTADDRESS)
  186. #define IDS_CMIDM_ARRANGE_BY_DEVICE_NAME (IDS_CMIDM_START + CMIDM_ARRANGE_BY_DEVICE_NAME)
  187. // Debug only commands
  188. //
  189. #if DBG
  190. #define IDS_CMIDM_DEBUG (IDS_CMIDM_START + CMIDM_DEBUG)
  191. #define IDS_CMIDM_DEBUG_TRAY (IDS_CMIDM_START + CMIDM_DEBUG_TRAY)
  192. #define IDS_CMIDM_DEBUG_TRACING (IDS_CMIDM_START + CMIDM_DEBUG_TRACING)
  193. #define IDS_CMIDM_DEBUG_NOTIFYADD (IDS_CMIDM_START + CMIDM_DEBUG_NOTIFYADD)
  194. #define IDS_CMIDM_DEBUG_NOTIFYREMOVE (IDS_CMIDM_START + CMIDM_DEBUG_NOTIFYREMOVE)
  195. #define IDS_CMIDM_DEBUG_NOTIFYTEST (IDS_CMIDM_START + CMIDM_DEBUG_NOTIFYTEST)
  196. #define IDS_CMIDM_DEBUG_REFRESH (IDS_CMIDM_START + CMIDM_DEBUG_REFRESH)
  197. #define IDS_CMIDM_DEBUG_REFRESHNOFLUSH (IDS_CMIDM_START + CMIDM_DEBUG_REFRESHNOFLUSH)
  198. #define IDS_CMIDM_DEBUG_REFRESHSELECTED (IDS_CMIDM_START + CMIDM_DEBUG_REFRESHSELECTED)
  199. #define IDS_CMIDM_DEBUG_REMOVETRAYICONS (IDS_CMIDM_START + CMIDM_DEBUG_REMOVETRAYICONS)
  200. #endif