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.

150 lines
5.7 KiB

  1. /*---------------------------------------------------------------------------*\
  2. | WINCHAT RESOURCE FILE
  3. | This module defines the resources for the WinChat application
  4. |
  5. |
  6. | Copyright (c) Microsoft Corp., 1990-1993
  7. |
  8. | created: 01-Nov-91
  9. | history: 01-Nov-91 <clausgi> created.
  10. | 01-Jul-92 <gaylep> help text edited.
  11. | 29-Dec-92 <chriswil> port to NT, cleanup.
  12. |
  13. \*---------------------------------------------------------------------------*/
  14. #define RC_INVOLKED // prevents RC-compiler from choking on pragma's.
  15. #include <windows.h>
  16. #include "winchat.h"
  17. #include "dialogs.h"
  18. #ifdef WIN32
  19. #include <ntverp.h>
  20. #endif
  21. // Include other resources.
  22. //
  23. #include "winchat.rcv"
  24. #include "dialogs.dlg"
  25. // This section defines the resources used
  26. // throughout the application.
  27. //
  28. IDBITMAP BITMAP buttons.bmp
  29. phone1 ICON phone1.ico
  30. phone2 ICON phone2.ico
  31. phone3 ICON phone3.ico
  32. // This table defines the keyboard accelerators
  33. // for the applicaton.
  34. //
  35. IDACCELERATORS ACCELERATORS PRELOAD
  36. BEGIN
  37. VK_F1, IDM_CONTENTS, VIRTKEY
  38. VK_F6, IDM_SWITCHWIN, NOINVERT, VIRTKEY
  39. END
  40. // Application menu.
  41. //
  42. WinChatMenu MENU
  43. BEGIN
  44. POPUP "&Conversation"
  45. BEGIN
  46. MENUITEM "&Dial...", IDM_DIAL
  47. MENUITEM "&Answer" , IDM_ANSWER
  48. MENUITEM "&Hang Up", IDM_HANGUP
  49. MENUITEM SEPARATOR
  50. MENUITEM "E&xit" , IDM_EXIT
  51. END
  52. POPUP "&Edit"
  53. BEGIN
  54. MENUITEM "Cu&t\tCtrl+X" , IDM_EDITCUT
  55. MENUITEM "&Copy\tCtrl+C" , IDM_EDITCOPY
  56. MENUITEM "&Paste\tCtrl+V", IDM_EDITPASTE
  57. MENUITEM SEPARATOR
  58. MENUITEM "Select &All" , IDM_EDITSELECT
  59. END
  60. POPUP "&Options"
  61. BEGIN
  62. MENUITEM "&Preferences..." , IDM_PREFERENCES
  63. MENUITEM "&Font..." , IDM_FONT
  64. MENUITEM "Background &Color...", IDM_COLOR
  65. MENUITEM SEPARATOR
  66. MENUITEM "&Toolbar" , IDM_TOOLBAR
  67. MENUITEM "&Status Bar" , IDM_STATUSBAR
  68. MENUITEM SEPARATOR
  69. MENUITEM "Sou&nd" , IDM_SOUND
  70. END
  71. POPUP "&Help"
  72. BEGIN
  73. MENUITEM "&Help Topics" , IDM_CONTENTS
  74. MENUITEM SEPARATOR
  75. MENUITEM "&About Chat..." , IDM_ABOUT
  76. END
  77. END
  78. // This section defines the string constants for
  79. // the application.
  80. //
  81. STRINGTABLE PRELOAD
  82. BEGIN
  83. // Misc strings.
  84. //
  85. IDS_HELV "MS Shell Dlg" // max 32
  86. IDS_APPNAME "Chat" // max 32
  87. IDS_SERVICENAME "WinChat" // max 32
  88. IDS_SYSERR "The application cannot start." // max 64
  89. IDS_DIALING "Dialing %s ..." // max 64
  90. IDS_CONNECTABANDON "No longer attempting to connect" // max 64
  91. IDS_HANGINGUP "Hung up" // max 64
  92. IDS_HASTERMINATED "%s hung up" // max 64
  93. IDS_CONNECTEDTO "Connected to %s" // max 64
  94. IDS_CONNECTING "Connecting..." // max 64
  95. IDS_ISCALLING "%s is calling" // max 64
  96. IDS_NOCONNECT "The other computer did not respond" // max 64
  97. IDS_ALWAYSONTOP "Always on &Top" // max 64
  98. IDS_NOCONNECTTO "No connection to %s" // max 64
  99. IDS_NONETINSTALLED "The network is not installed or enabled. You will not be able\nto make a remote connection. Do you wish to continue dialing?" // max 255
  100. IDS_INISECTION "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\IniFileMapping\\Winchat.ini"
  101. IDS_INIPREFKEY "USR:Software\\Microsoft\\Winchat\\Preferences"
  102. IDS_INIFONTKEY "USR:Software\\Microsoft\\Winchat\\Font"
  103. IDS_INIRINGIN "ringin.wav, Incoming Call"
  104. IDS_INIRINGOUT "ringout.wav, Outgoing Call"
  105. IDS_TSNOTSUPPORTED "This application cannot be used from a Terminal Server remote session."
  106. // Menuhelp strings
  107. //
  108. MH_BASE+IDM_DIAL "Makes a call to someone at another computer"
  109. MH_BASE+IDM_ANSWER "Answers an incoming call"
  110. MH_BASE+IDM_HANGUP "Hangs up and ends the current conversation"
  111. MH_BASE+IDM_EXIT "Quits Chat"
  112. MH_BASE+IDM_EDITCUT "Deletes selected text and places it onto the Clipboard"
  113. MH_BASE+IDM_EDITCOPY "Copies selected text onto the Clipboard"
  114. MH_BASE+IDM_EDITPASTE "Pastes the contents of the Clipboard at the cursor position"
  115. MH_BASE+IDM_EDITSELECT "Selects entire contents of window"
  116. MH_BASE+IDM_PREFERENCES "Changes the layout of the Chat window"
  117. MH_BASE+IDM_FONT "Changes the font in the Chat window"
  118. MH_BASE+IDM_COLOR "Changes the background color of the Chat window"
  119. MH_BASE+IDM_TOOLBAR "Shows or hides the toolbar"
  120. MH_BASE+IDM_STATUSBAR "Shows or hides the status bar"
  121. MH_BASE+IDM_SOUND "Turns sound on and off"
  122. MH_BASE+IDM_CONTENTS "Displays the contents for Chat Help"
  123. MH_BASE+IDM_SEARCHHELP "Searches for a topic in Chat Help"
  124. MH_BASE+IDM_HELPHELP "Displays information about how to use Help"
  125. MH_BASE+IDM_ABOUT "Displays version information about Chat"
  126. MH_BASE+IDM_TOPMOST "Keeps this window in the foreground"
  127. MH_POPUPBASE+0 "Commands for starting or ending conversations"
  128. MH_POPUPBASE+1 "Commands for transferring text to and from the Clipboard"
  129. MH_POPUPBASE+2 "Commands for customizing Chat"
  130. MH_POPUPBASE+3 "Commands for displaying Chat Help"
  131. END