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.

80 lines
2.5 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: C O N T R A Y . R C
  7. //
  8. // Contents: Connections Tray resources.
  9. //
  10. // Notes:
  11. //
  12. // Author: jeffspr 13 Nov 1997
  13. //
  14. //----------------------------------------------------------------------------
  15. // All of the includes have been done for us already in netshell.rc
  16. //
  17. #include <windows.h>
  18. #include <shlobjp.h>
  19. #include "trayres.h"
  20. // Context Menus
  21. //
  22. //
  23. POPUP_CONTRAY_GENERIC_MENU_RAS MENUEX DISCARDABLE
  24. BEGIN
  25. POPUP ""
  26. BEGIN
  27. MENUITEM "&Disconnect", CMIDM_TRAY_DISCONNECT
  28. MENUITEM "&Status", CMIDM_TRAY_STATUS
  29. MENUITEM "", -1, MFT_SEPARATOR
  30. MENUITEM "&Open Network Connections", CMIDM_OPEN_CONNECTIONS_FOLDER
  31. END
  32. END
  33. POPUP_CONTRAY_GENERIC_MENU_LAN MENUEX DISCARDABLE
  34. BEGIN
  35. POPUP ""
  36. BEGIN
  37. MENUITEM "&Disable", CMIDM_TRAY_DISCONNECT
  38. MENUITEM "&Status", CMIDM_TRAY_STATUS
  39. MENUITEM "Re&pair", CMIDM_TRAY_REPAIR
  40. MENUITEM "", -1, MFT_SEPARATOR
  41. MENUITEM "&Open Network Connections", CMIDM_OPEN_CONNECTIONS_FOLDER
  42. END
  43. END
  44. POPUP_CONTRAY_GENERIC_MENU_WIRELESS_LAN MENUEX DISCARDABLE
  45. BEGIN
  46. POPUP ""
  47. BEGIN
  48. MENUITEM "&Disable", CMIDM_TRAY_DISCONNECT
  49. MENUITEM "&Status", CMIDM_TRAY_STATUS
  50. MENUITEM "Re&pair", CMIDM_TRAY_REPAIR
  51. MENUITEM "", -1, MFT_SEPARATOR
  52. MENUITEM "&View Available Wireless Networks", CMIDM_TRAY_WZCDLG_SHOW
  53. MENUITEM "", -1, MFT_SEPARATOR
  54. MENUITEM "&Open Network Connections", CMIDM_OPEN_CONNECTIONS_FOLDER
  55. END
  56. END
  57. POPUP_CONTRAY_MEDIA_DISCONNECTED_MENU MENUEX DISCARDABLE
  58. BEGIN
  59. POPUP ""
  60. BEGIN
  61. MENUITEM "&Open Network Connections", CMIDM_OPEN_CONNECTIONS_FOLDER
  62. END
  63. END
  64. POPUP_CONTRAY_WIRELESS_DISCONNECTED_LAN MENUEX DISCARDABLE
  65. BEGIN
  66. POPUP ""
  67. BEGIN
  68. MENUITEM "&Open Network Connections", CMIDM_OPEN_CONNECTIONS_FOLDER
  69. MENUITEM "", -1, MFT_SEPARATOR
  70. MENUITEM "&View Available Wireless Networks", CMIDM_TRAY_WZCDLG_SHOW
  71. END
  72. END