ODRes.rc 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. /* OpenDoors 6.10
  2. * (C) Copyright 1991 - 1997 by Brian Pirie. All Rights Reserved.
  3. *
  4. *
  5. * File: ODRes.rc
  6. *
  7. * Description: OpenDoors resource script. Contains defintions for OpenDoors
  8. * menus, dialog boxes, icons, bitmaps, accelerator table and
  9. * string resources. This file is only applicable when building
  10. * the Win32 version of OpenDoors.
  11. *
  12. * Revisions: Date Ver Who Change
  13. * ---------------------------------------------------------------
  14. * Dec 02, 1995 6.00 BP Created.
  15. * Jan 01, 1996 6.00 BP Changed copyright to 1996 in About Box
  16. * Jan 20, 1996 6.00 BP Added login dialog box.
  17. * Jan 21, 1996 6.00 BP Added message dialog box.
  18. * Jan 21, 1996 6.00 BP Renamed opendoor.ico to odapp.ico.
  19. * Feb 19, 1996 6.00 BP Changed version number to 6.00.
  20. * Mar 03, 1996 6.10 BP Begin version 6.10.
  21. * Mar 14, 1996 6.10 BP Added configuration menu option.
  22. */
  23. #include "windows.h"
  24. #include "ODRes.h"
  25. /* ========================================================================= */
  26. /* The OpenDoors frame window menu. */
  27. /* ========================================================================= */
  28. IDR_FRAME_MENU MENU DISCARDABLE
  29. BEGIN
  30. POPUP "&Door"
  31. BEGIN
  32. MENUITEM "C&onfigure..." ID_DOOR_CONFIG
  33. MENUITEM "&Chat Mode\tAlt+C", ID_DOOR_CHATMODE
  34. MENUITEM SEPARATOR
  35. MENUITEM "User &Keyboard Off\tAlt+K", ID_DOOR_USERKEYBOARDOFF
  36. MENUITEM "Sysop &Next\tAlt+N", ID_DOOR_SYSOPNEXT
  37. MENUITEM SEPARATOR
  38. MENUITEM "&Hangup\tAlt+H", ID_DOOR_HANGUP
  39. MENUITEM "&Lockout\tAlt+L", ID_DOOR_LOCKOUT
  40. MENUITEM SEPARATOR
  41. MENUITEM "E&xit To BBS\tAlt+X", ID_DOOR_EXIT
  42. END
  43. POPUP "&View"
  44. BEGIN
  45. MENUITEM "&Toolbar", ID_VIEW_TOOL_BAR, CHECKED
  46. MENUITEM "Status Bar", ID_VIEW_STAT_BAR, CHECKED
  47. END
  48. POPUP "&User"
  49. BEGIN
  50. MENUITEM "Add &One Minute\tShift+Up Arrow", ID_USER_ADDONEMINUTE
  51. MENUITEM "Add &Five Minutes\tAlt+Up Arrow", ID_USER_ADDFIVEMINUTES
  52. MENUITEM SEPARATOR
  53. MENUITEM "&Subtract One Minute\tShift+Down Arrow",
  54. ID_USER_SUBTRACTONEMINUTE
  55. MENUITEM "S&ubtract Five Minutes\tAlt+Down Arrow",
  56. ID_USER_SUBTRACTFIVEMINUTES
  57. MENUITEM SEPARATOR
  58. MENUITEM "&Inactivity Timer", ID_USER_INACTIVITYTIMER
  59. , CHECKED
  60. END
  61. POPUP "&Help"
  62. BEGIN
  63. MENUITEM "&Contents\tF1" ID_HELP_CONTENTS
  64. MENUITEM "&About...", ID_HELP_ABOUT
  65. END
  66. END
  67. /* ========================================================================= */
  68. /* Dialog Boxes. */
  69. /* ========================================================================= */
  70. IDD_ABOUT DIALOG DISCARDABLE 0, 0, 217, 89
  71. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  72. CAPTION "About"
  73. FONT 8, "MS Sans Serif"
  74. BEGIN
  75. ICON IDI_OPENDOORS,-1,6,7,18,20
  76. LTEXT "BBS Door Program",IDC_DOORNAME,32,5,120,8
  77. LTEXT "",IDC_VERSION,32,14,123,7
  78. LTEXT "",IDC_COPYRIGHT,32,23,119,8
  79. LTEXT "Written using:",-1,31,48,69,8
  80. LTEXT "OpenDoors 6.24, Win32 Edition",-1,31,57,127,8
  81. LTEXT "Copyright \251 1991-1997 by Brian Pirie.",-1,31,
  82. 66,139,8,SS_NOPREFIX
  83. LTEXT "All Rights Reserved.",-1,31,75,90,8
  84. DEFPUSHBUTTON "OK",IDOK,161,6,50,14
  85. END
  86. IDD_LOGIN DIALOG DISCARDABLE 0, 0, 194, 80
  87. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  88. CAPTION "OpenDoors"
  89. FONT 8, "MS Sans Serif"
  90. BEGIN
  91. LTEXT "This program has been started in local",-1,6,6,128,8
  92. LTEXT "mode, independently of a BBS system.",-1,6,14,128,8
  93. LTEXT "When operating in this mode, you may",-1,6,22,128,8
  94. LTEXT "specify what name you should be",-1,6,30,128,8
  95. LTEXT "known to the program by.",-1,6,38,128,8
  96. LTEXT "Your &name:",-1,6,52,42,8
  97. EDITTEXT IDC_USER_NAME,6,61,121,12,ES_AUTOHSCROLL
  98. DEFPUSHBUTTON "OK",IDOK,138,6,50,14
  99. PUSHBUTTON "Cancel",IDCANCEL,138,23,50,14
  100. END
  101. IDD_MESSAGE DIALOG DISCARDABLE 0, 0, 186, 31
  102. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  103. CAPTION "OpenDoors"
  104. FONT 8, "MS Sans Serif"
  105. BEGIN
  106. ICON IDI_MESSAGE_INFO,IDC_MESSAGE_ICON,6,6,18,20
  107. LTEXT "",IDC_MESSAGE_TEXT1,32,10,149,8
  108. END
  109. /* ========================================================================= */
  110. /* Icons. */
  111. /* ========================================================================= */
  112. IDI_OPENDOORS ICON DISCARDABLE "odapp.ico"
  113. IDI_MESSAGE_INFO ICON DISCARDABLE "odinfo.ico"
  114. /* ========================================================================= */
  115. /* Bitmaps. */
  116. /* ========================================================================= */
  117. IDB_TOOLBAR BITMAP DISCARDABLE "toolbar.bmp"
  118. /* ========================================================================= */
  119. /* Accelerator Table. */
  120. /* ========================================================================= */
  121. /* Dumb dumb dumb.
  122. IDR_FRAME ACCELERATORS DISCARDABLE
  123. BEGIN
  124. "C", ID_DOOR_CHATMODE, VIRTKEY, CONTROL, NOINVERT
  125. "H", ID_DOOR_HANGUP, VIRTKEY, CONTROL, NOINVERT
  126. "K", ID_DOOR_USERKEYBOARDOFF, VIRTKEY, CONTROL, NOINVERT
  127. "L", ID_DOOR_LOCKOUT, VIRTKEY, CONTROL, NOINVERT
  128. "N", ID_DOOR_SYSOPNEXT, VIRTKEY, CONTROL, NOINVERT
  129. "X", ID_DOOR_EXIT, VIRTKEY, CONTROL, NOINVERT
  130. VK_DOWN, ID_USER_SUBTRACTFIVEMINUTES, VIRTKEY, CONTROL, NOINVERT
  131. VK_DOWN, ID_USER_SUBTRACTONEMINUTE, VIRTKEY, SHIFT, NOINVERT
  132. VK_F1, ID_HELP_CONTENTS, VIRTKEY, NOINVERT
  133. VK_UP, ID_USER_ADDFIVEMINUTES, VIRTKEY, CONTROL, NOINVERT
  134. VK_UP, ID_USER_ADDONEMINUTE, VIRTKEY, SHIFT, NOINVERT
  135. END
  136. */
  137. IDR_FRAME ACCELERATORS DISCARDABLE
  138. BEGIN
  139. "C", ID_DOOR_CHATMODE, VIRTKEY, ALT, NOINVERT
  140. "H", ID_DOOR_HANGUP, VIRTKEY, ALT, NOINVERT
  141. "K", ID_DOOR_USERKEYBOARDOFF, VIRTKEY, ALT, NOINVERT
  142. "L", ID_DOOR_LOCKOUT, VIRTKEY, ALT, NOINVERT
  143. "N", ID_DOOR_SYSOPNEXT, VIRTKEY, ALT, NOINVERT
  144. "X", ID_DOOR_EXIT, VIRTKEY, ALT, NOINVERT
  145. VK_DOWN, ID_USER_SUBTRACTFIVEMINUTES, VIRTKEY, ALT, NOINVERT
  146. VK_DOWN, ID_USER_SUBTRACTONEMINUTE, VIRTKEY, SHIFT, NOINVERT
  147. VK_F1, ID_HELP_CONTENTS, VIRTKEY, NOINVERT
  148. VK_UP, ID_USER_ADDFIVEMINUTES, VIRTKEY, ALT, NOINVERT
  149. VK_UP, ID_USER_ADDONEMINUTE, VIRTKEY, SHIFT, NOINVERT
  150. END
  151. /* ========================================================================= */
  152. /* String Resources. */
  153. /* ========================================================================= */
  154. STRINGTABLE DISCARDABLE
  155. BEGIN
  156. ID_DOOR_CHATMODE "Enters or exits chat mode, allowing you to communicate with the remote user."
  157. ID_DOOR_USERKEYBOARDOFF "Causes any keys or commands from the remote user to be ignored."
  158. ID_DOOR_SYSOPNEXT "Reserves the system for the sysop after this user logs off (if supported by BBS)."
  159. ID_DOOR_HANGUP "Hangs up the modem and exits the door."
  160. ID_USER_ADDONEMINUTE "Increases the user's time remaining by one minute."
  161. ID_USER_ADDFIVEMINUTES "Increases the user's time remaining by five minutes."
  162. ID_USER_SUBTRACTONEMINUTE
  163. "Decreases the user's time remaining by one minute."
  164. ID_USER_SUBTRACTFIVEMINUTES
  165. "Decreases the user's time remaining by five minutes."
  166. ID_USER_INACTIVITYTIMER "Enables the timer that will log off the user after a long period of no activity."
  167. ID_HELP_ABOUT "Displays program information and copyright."
  168. ID_VIEW_TOOL_BAR "Shows or hides the toolbar."
  169. END
  170. STRINGTABLE DISCARDABLE
  171. BEGIN
  172. ID_DOOR_EXIT "Exits the door without hanging up."
  173. ID_DOOR_LOCKOUT "Hangs up the modem, denying any further access to the user (if supported by BBS)."
  174. ID_VIEW_STAT_BAR "Shows or hides the status bar."
  175. END