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.

312 lines
13 KiB

  1. #include "resource.h"
  2. /////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Menu
  5. //
  6. IDR_MENU_LVCONTEXT_BROWSE_LV MENU
  7. BEGIN
  8. POPUP "LVContextMenu"
  9. BEGIN
  10. POPUP "&New"
  11. BEGIN
  12. MENUITEM "New &Contact..." IDM_LVCONTEXT_NEWCONTACT
  13. MENUITEM "New &Group..." IDM_LVCONTEXT_NEWGROUP
  14. MENUITEM "New &Folder..." IDM_LVCONTEXT_NEWFOLDER
  15. END
  16. MENUITEM SEPARATOR
  17. MENUITEM "C&opy" IDM_LVCONTEXT_COPY
  18. MENUITEM "&Paste" IDM_LVCONTEXT_PASTE
  19. MENUITEM SEPARATOR
  20. POPUP "Act&ion"
  21. BEGIN
  22. // For consistency, additional pre-configured "Action Items" should be
  23. // added before the Internet Call item (The Internet Call item is used as a place holder)
  24. // Send Mail and SendMailTo should be the first 2 items respectively
  25. MENUITEM "Send &Mail" IDM_LVCONTEXT_SENDMAIL
  26. POPUP "Send Mail &To" // keep this item right above the Send Mail item i.e it should be secondlast
  27. BEGIN
  28. MENUITEM "(default)" IDM_SENDMAILTO_START
  29. END
  30. MENUITEM "&Dial..." IDM_DIALDLG_START // for dialing
  31. // Add new items here before Internet Call
  32. MENUITEM "&Internet Call" IDM_LVCONTEXT_INTERNET_CALL
  33. END
  34. MENUITEM SEPARATOR
  35. MENUITEM "P&roperties" IDM_LVCONTEXT_PROPERTIES
  36. MENUITEM "&Delete" IDM_LVCONTEXT_DELETE
  37. MENUITEM SEPARATOR
  38. MENUITEM "&Find People..." IDM_LVCONTEXT_FIND
  39. END
  40. END
  41. IDR_MENU_LVCONTEXT_TV MENU
  42. BEGIN
  43. POPUP "LVContextMenu"
  44. BEGIN
  45. POPUP "&New"
  46. BEGIN
  47. MENUITEM "New &Contact..." IDM_LVCONTEXT_NEWCONTACT
  48. MENUITEM "New &Group..." IDM_LVCONTEXT_NEWGROUP
  49. MENUITEM "New &Folder..." IDM_LVCONTEXT_NEWFOLDER
  50. END
  51. MENUITEM SEPARATOR
  52. MENUITEM "&Paste" IDM_LVCONTEXT_PASTE
  53. #ifdef FUTURE
  54. MENUITEM SEPARATOR
  55. POPUP "S&hare Folders"
  56. BEGIN
  57. MENUITEM "<none>" IDM_VIEW_FOLDERS1
  58. END
  59. #endif // FUTURE
  60. MENUITEM SEPARATOR
  61. MENUITEM "P&roperties" IDM_LVCONTEXT_PROPERTIES
  62. MENUITEM "&Delete" IDM_LVCONTEXT_DELETE
  63. MENUITEM SEPARATOR
  64. MENUITEM "&Find People..." IDM_LVCONTEXT_FIND
  65. END
  66. END
  67. IDR_MENU_LVCONTEXT_DL_LV MENU //Also works for Select_Wells and Resolve_LV
  68. BEGIN
  69. POPUP "LVContextMenu"
  70. BEGIN
  71. POPUP "Act&ion"
  72. BEGIN
  73. // For consistency, additional pre-configured "Action Items" should be
  74. // added before the Internet Call item (The Internet Call item is used as a place holder)
  75. // Send Mail and SendMailTo should be the first 2 items respectively
  76. MENUITEM "Send &Mail" IDM_LVCONTEXT_SENDMAIL
  77. POPUP "Send Mail &To" // keep this item right above the Send Mail item i.e it should be secondlast
  78. BEGIN
  79. MENUITEM "(default)" IDM_SENDMAILTO_START
  80. END
  81. MENUITEM "&Dial..." IDM_DIALDLG_START // for dialing
  82. // Add new items here before Internet Call
  83. MENUITEM "&Internet Call" IDM_LVCONTEXT_INTERNET_CALL
  84. END
  85. MENUITEM SEPARATOR
  86. MENUITEM "P&roperties" IDM_LVCONTEXT_PROPERTIES
  87. MENUITEM "Remo&ve" IDM_LVCONTEXT_DELETE
  88. END
  89. END
  90. IDR_MENU_LVCONTEXT_SELECT_LIST MENU
  91. BEGIN
  92. POPUP "LVContextMenu"
  93. BEGIN
  94. MENUITEM "T&o ->" IDM_LVCONTEXT_ADDWELL1
  95. MENUITEM "&Cc ->" IDM_LVCONTEXT_ADDWELL2
  96. MENUITEM "&Bcc ->" IDM_LVCONTEXT_ADDWELL3
  97. MENUITEM SEPARATOR
  98. POPUP "&New"
  99. BEGIN
  100. MENUITEM "New &Contact..." IDM_LVCONTEXT_NEWCONTACT
  101. MENUITEM "New &Group..." IDM_LVCONTEXT_NEWGROUP
  102. MENUITEM "New &Folder..." IDM_LVCONTEXT_NEWFOLDER
  103. END
  104. MENUITEM SEPARATOR
  105. POPUP "Act&ion"
  106. BEGIN
  107. // For consistency, additional pre-configured "Action Items" should be
  108. // added before the Internet Call item (The Internet Call item is used as a place holder)
  109. // Send Mail and SendMailTo should be the first 2 items respectively
  110. MENUITEM "Send &Mail" IDM_LVCONTEXT_SENDMAIL
  111. POPUP "Send Mail &To" // keep this item right above the Send Mail item i.e it should be secondlast
  112. BEGIN
  113. MENUITEM "(default)" IDM_SENDMAILTO_START
  114. END
  115. MENUITEM "&Dial..." IDM_DIALDLG_START // for dialing
  116. // Add new items here before Internet Call
  117. MENUITEM "&Internet Call" IDM_LVCONTEXT_INTERNET_CALL
  118. END
  119. MENUITEM SEPARATOR
  120. MENUITEM "P&roperties" IDM_LVCONTEXT_PROPERTIES
  121. MENUITEM "&Delete" IDM_LVCONTEXT_DELETE
  122. MENUITEM SEPARATOR
  123. MENUITEM "&Find People..." IDM_LVCONTEXT_FIND
  124. END
  125. END
  126. IDR_MENU_LVCONTEXT_FIND_LV MENU
  127. BEGIN
  128. POPUP "LVContextMenu"
  129. BEGIN
  130. POPUP "Act&ion"
  131. BEGIN
  132. // For consistency, additional pre-configured "Action Items" should be
  133. // added before the Internet Call item (The Internet Call item is used as a place holder)
  134. // Send Mail and SendMailTo should be the first 2 items respectively
  135. MENUITEM "Send &Mail" IDM_LVCONTEXT_SENDMAIL
  136. POPUP "Send Mail &To" // keep this item right above the Send Mail item i.e it should be secondlast
  137. BEGIN
  138. MENUITEM "(default)" IDM_SENDMAILTO_START
  139. END
  140. MENUITEM "&Dial..." IDM_DIALDLG_START // for dialing
  141. // Add new items here before Internet Call
  142. MENUITEM "&Internet Call" IDM_LVCONTEXT_INTERNET_CALL
  143. END
  144. MENUITEM SEPARATOR
  145. MENUITEM "C&opy" IDM_LVCONTEXT_COPY
  146. MENUITEM SEPARATOR
  147. MENUITEM "P&roperties" IDM_LVCONTEXT_PROPERTIES
  148. MENUITEM "&Delete" IDM_LVCONTEXT_DELETE
  149. MENUITEM SEPARATOR
  150. MENUITEM "&Add to Address Book" IDM_LVCONTEXT_ADDTOWAB
  151. END
  152. END
  153. /**********************************************************************/
  154. //WABAddressBookView MENU
  155. IDR_MENU_AB MENU //DISCARDABLE
  156. BEGIN
  157. POPUP "&File"
  158. BEGIN
  159. MENUITEM "New &Contact...\tCtrl+N", IDM_FILE_NEWCONTACT
  160. MENUITEM "New &Group...\tCtrl+G", IDM_FILE_NEWGROUP
  161. MENUITEM "New &Folder...\tCtrl+R", IDM_FILE_NEWFOLDER
  162. MENUITEM SEPARATOR
  163. MENUITEM "P&roperties\tAlt+Enter", IDM_FILE_PROPERTIES
  164. MENUITEM "&Delete", IDM_FILE_DELETE
  165. MENUITEM SEPARATOR
  166. POPUP "&Import"
  167. BEGIN
  168. MENUITEM "&Address Book (WAB)..." IDM_TOOLS_IMPORT_WAB
  169. MENUITEM "&Business Card (vCard)..." IDM_TOOLS_IMPORT_VCARD
  170. MENUITEM "&Other Address Book..." IDM_TOOLS_IMPORT_OTHER
  171. END
  172. POPUP "&Export"
  173. BEGIN
  174. MENUITEM "&Address Book (WAB)..." IDM_TOOLS_EXPORT_WAB
  175. MENUITEM "&Business Card (vCard)..." IDM_TOOLS_EXPORT_VCARD
  176. MENUITEM "&Other Address Book..." IDM_TOOLS_EXPORT_OTHER
  177. END
  178. MENUITEM SEPARATOR
  179. MENUITEM "&Print...\tCtrl+P" IDM_FILE_PRINT
  180. #ifdef FUTURE
  181. MENUITEM SEPARATOR
  182. POPUP "S&hare Folders"
  183. BEGIN
  184. MENUITEM "<none>" IDM_VIEW_FOLDERS1
  185. END
  186. #endif //FUTURE
  187. MENUITEM SEPARATOR
  188. MENUITEM "&Switch Identity..." IDM_FILE_SWITCHUSERS
  189. MENUITEM "Show &All Contents" IDM_FILE_SHOWALLCONTENTS
  190. MENUITEM SEPARATOR
  191. MENUITEM "E&xit", IDM_FILE_EXIT
  192. END
  193. POPUP "&Edit"
  194. BEGIN
  195. MENUITEM "&Copy\tCtrl+C", IDM_EDIT_COPY
  196. MENUITEM "&Paste\tCtrl+V", IDM_EDIT_PASTE
  197. MENUITEM SEPARATOR
  198. MENUITEM "Select &All\tCtrl+A", IDM_EDIT_SELECTALL
  199. MENUITEM SEPARATOR
  200. MENUITEM "P&rofile...", IDM_EDIT_SETME
  201. MENUITEM SEPARATOR
  202. MENUITEM "&Find People...\tCtrl+F" IDM_EDIT_FIND
  203. END
  204. POPUP "&View"
  205. BEGIN
  206. MENUITEM "&Toolbar", IDM_VIEW_TOOLBAR, CHECKED
  207. MENUITEM "&Status Bar", IDM_VIEW_STATUSBAR, CHECKED
  208. MENUITEM "F&olders and Groups", IDM_VIEW_GROUPSLIST, CHECKED
  209. MENUITEM SEPARATOR
  210. MENUITEM "Lar&ge Icon", IDM_VIEW_LARGEICON
  211. MENUITEM "S&mall Icon", IDM_VIEW_SMALLICON
  212. MENUITEM "&List", IDM_VIEW_LIST
  213. MENUITEM "&Details", IDM_VIEW_DETAILS
  214. MENUITEM SEPARATOR
  215. POPUP "Sort &By"
  216. BEGIN
  217. MENUITEM "&Name", IDM_VIEW_SORTBY_DISPLAYNAME
  218. MENUITEM "&E-Mail Address", IDM_VIEW_SORTBY_EMAILADDRESS
  219. MENUITEM "&Business Phone", IDM_VIEW_SORTBY_BUSINESSPHONE
  220. MENUITEM "&Home Phone", IDM_VIEW_SORTBY_HOMEPHONE
  221. MENUITEM SEPARATOR
  222. MENUITEM "&First Name", IDM_VIEW_SORTBY_FIRSTNAME
  223. MENUITEM "&Last Name", IDM_VIEW_SORTBY_LASTNAME
  224. MENUITEM SEPARATOR
  225. MENUITEM "&Ascending", IDM_VIEW_SORTBY_ASCENDING
  226. MENUITEM "&Descending", IDM_VIEW_SORTBY_DESCENDING
  227. END
  228. MENUITEM SEPARATOR
  229. MENUITEM "&Refresh\tF5", IDM_VIEW_REFRESH
  230. END
  231. POPUP "&Tools"
  232. BEGIN
  233. MENUITEM "&Accounts..." IDM_FILE_DIRECTORY_SERVICE
  234. MENUITEM SEPARATOR
  235. MENUITEM "&Options..." IDM_TOOLS_OPTIONS
  236. MENUITEM SEPARATOR
  237. POPUP "Act&ion"
  238. BEGIN
  239. // Order of these action items should exactly match the order in the Context Menu
  240. // described above...
  241. MENUITEM "Send &Mail" IDM_FILE_SENDMAIL
  242. POPUP "Send Mail &To"
  243. BEGIN
  244. MENUITEM "(default)" IDM_SENDMAILTO_START
  245. END
  246. MENUITEM "&Dial..." IDM_DIALDLG_START // for dialing
  247. // Add new items here on top
  248. MENUITEM "&Internet Call" IDM_TOOLS_INTERNET_CALL
  249. END
  250. MENUITEM SEPARATOR
  251. MENUITEM "&Synchronize Now" IDM_TOOLS_SYNCHRONIZE_NOW
  252. END
  253. POPUP "&Help"
  254. BEGIN
  255. MENUITEM "&Contents and Index\tF1", IDM_HELP_ADDRESSBOOKHELP
  256. MENUITEM SEPARATOR
  257. MENUITEM "&About Address Book", IDM_HELP_ABOUTADDRESSBOOK
  258. END
  259. END
  260. #ifdef COLSEL_MENU
  261. // menu items should not exceed length of MAX_PATH
  262. IDR_MENU_LVCONTEXTMENU_COLSEL MENU
  263. BEGIN
  264. POPUP "LVContext Menu"
  265. BEGIN
  266. MENUITEM "Home Phone", IDM_LVCONTEXTMENU_COLSEL_HPHONE
  267. MENUITEM "Business Phone", IDM_LVCONTEXTMENU_COLSEL_BPHONE
  268. MENUITEM "Pager", IDM_LVCONTEXTMENU_COLSEL_PAGER
  269. MENUITEM "Mobile", IDM_LVCONTEXTMENU_COLSEL_MOBILE
  270. MENUITEM "Business Fax", IDM_LVCONTEXTMENU_COLSEL_BFAX
  271. MENUITEM "Home Fax", IDM_LVCONTEXTMENU_COLSEL_HFAX
  272. MENUITEM "Company", IDM_LVCONTEXTMENU_COLSEL_COMPANY
  273. MENUITEM "Job Title", IDM_LVCONTEXTMENU_COLSEL_TITLE
  274. MENUITEM "Department", IDM_LVCONTEXTMENU_COLSEL_DEPT
  275. MENUITEM "Office", IDM_LVCONTEXTMENU_COLSEL_OFFICE
  276. MENUITEM "Birthday", IDM_LVCONTEXTMENU_COLSEL_BIRTHDAY
  277. MENUITEM "Anniversary", IDM_LVCONTEXTMENU_COLSEL_ANNIVERSARY
  278. END
  279. END
  280. #endif // COLSEL_MENU
  281. // Accelerators for the UI
  282. WabUIAccel ACCELERATORS
  283. BEGIN
  284. "S", IDC_ABOOK_STATIC_SHOW_NAMES, ALT,VIRTKEY
  285. "Y", IDC_ABOOK_STATIC_QUICK_FIND, ALT,VIRTKEY
  286. VK_F5, IDM_VIEW_REFRESH, VIRTKEY
  287. VK_F1, IDM_HELP_ADDRESSBOOKHELP, VIRTKEY
  288. "N", IDM_FILE_NEWCONTACT, CONTROL,VIRTKEY
  289. "G", IDM_FILE_NEWGROUP, CONTROL,VIRTKEY
  290. "W", IDM_FILE_ADDTOWAB, CONTROL,VIRTKEY
  291. "A", IDM_EDIT_SELECTALL, CONTROL,VIRTKEY
  292. "C", IDM_EDIT_COPY, CONTROL,VIRTKEY
  293. "V", IDM_EDIT_PASTE, CONTROL,VIRTKEY
  294. "F", IDM_EDIT_FIND, CONTROL,VIRTKEY
  295. "P", IDM_FILE_PRINT, CONTROL,VIRTKEY
  296. "R", IDM_FILE_NEWFOLDER, CONTROL,VIRTKEY
  297. VK_RETURN, IDM_FILE_PROPERTIES, ALT,VIRTKEY
  298. END