home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / windows / basic / emed15 / samples / owl / emedtapp.rh < prev    next >
Encoding:
Text File  |  1994-05-04  |  6.5 KB  |  257 lines

  1. //#if !defined(__emedtapp_rh)                // Sentry use file only if it's not already included.
  2. //#define __emedtapp_rh
  3.  
  4. /*  Main emedit
  5.     Early Morning Software
  6.     Copyright ⌐ 1994. All Rights Reserved.
  7.  
  8.     SUBSYSTEM:    emedit.exe Application
  9.     FILE:         emedtapp.h
  10.     AUTHOR:       Ted Stockwell
  11.  
  12.  
  13.     OVERVIEW
  14.     ========
  15.     Constant definitions for all resources defined in emedtapp.rc.      
  16. */
  17.  
  18.  
  19. //
  20. // IDHELP BorButton for BWCC dialogs.
  21. //
  22. #define IDHELP                  998             // Id of help button
  23.  
  24.  
  25. //
  26. // Application specific definitions:
  27. //
  28. #define IDI_COFFEE    2
  29. #define IDD_VBXCONTAINER    1
  30. #define IDC_CMDIALOG1    102
  31. #define IDI_DOC                 1002            // MDI child window icon
  32. #define IDD_CHILDCLIENT    9
  33. #define IDC_CHILDCLIENTEDITOR    112
  34. #define IDC_EDITOR2    113
  35. #define IDC_EDITOR1    113
  36.  
  37. #define IDC_COMBOTEXT    101
  38. #define IDC_MATCHCASE    103
  39. #define IDC_WHOLEWORDS    104
  40. #define IDD_EMREPLACECONFIRM    4
  41. #define IDC_ONEBUTTON    103
  42. #define IDC_ALLBUTTON    104
  43. #define IDC_NOBUTTON    102
  44. #define IDC_YESBUTTON    101
  45. #define IDD_EMREPLACE    3
  46. #define IDD_EMFIND    5
  47. #define IDC_ENTIREBUTTON    110
  48. #define IDC_CURSORBUTTON    109
  49. #define IDC_UPBUTTON    106
  50. #define IDC_DOWNBUTTON    107
  51. #define IDC_GROUPBOX1    102
  52. #define IDC_GROUPBOX2    105
  53. #define IDC_GROUPBOX3    108
  54. #define IDC_COMBOBOX1    111
  55.  
  56.  
  57. #define MDI_MENU                100             // Menu resource ID and Accelerator IDs
  58. #define CM_FONT                101
  59. #define CM_STREAMBLOCK    8
  60. #define CM_COLUMNBLOCK        6
  61. #define CM_LINEBLOCK          7
  62. #define CM_FILELAST4    25003
  63. #define CM_FILELAST3    25002
  64. #define CM_FILELAST2    25001
  65. #define CM_FILELAST1    25000
  66.  
  67. //
  68. // CM_FILEnnnn commands (include\owl\editfile.rh except for CM_FILEPRINTPREVIEW)
  69. //
  70. #define CM_MDIFILENEW           24331
  71. #define CM_MDIFILEOPEN          24332
  72. #define CM_FILECLOSE            24339
  73. #define CM_FILESAVE             24333
  74. #define CM_FILESAVEAS           24334
  75. #define CM_FILEPRINT            24337
  76. #define CM_FILEPRINTERSETUP     24338
  77. #define CM_FILEPRINTPREVIEW     24340
  78.  
  79.  
  80. //
  81. // Window commands (include\owl\windows.rh)
  82. //
  83. #define CM_EXIT                 24310
  84.  
  85.  
  86. //
  87. // CM_EDITnnnn commands (include\owl\edit.rh)
  88. //
  89. #define CM_EDITUNDO             24321
  90. #define CM_EDITCUT              24322
  91. #define CM_EDITCOPY             24323
  92. #define CM_EDITPASTE            24324
  93. #define CM_EDITDELETE           24325
  94. #define CM_EDITCLEAR            24326
  95. #define CM_EDITWRAP                24327
  96. #define CM_EDITTIMEDATE            24328
  97. #define CM_EDITSELECT_ALL          24329
  98. #define CM_EDITREDO                24330
  99.  
  100.  
  101. //
  102. // Search menu commands (include\owl\editsear.rh)
  103. //
  104. #define CM_EDITFIND             24351
  105. #define CM_EDITREPLACE          24352
  106. #define CM_EDITFINDNEXT         24353
  107.  
  108.  
  109. //
  110. // Windows menu commands (include\owl\mdi.rh)
  111. //
  112. #define CM_CASCADECHILDREN      24361
  113. #define CM_TILECHILDREN         24362
  114. #define CM_TILECHILDRENHORIZ    24363
  115. #define CM_ARRANGEICONS         24364
  116. #define CM_CLOSECHILDREN        24365
  117. #define CM_CREATECHILD          24366
  118.  
  119.  
  120. //
  121. // Help menu commands.
  122. //
  123. #define CM_HELPCONTENTS         24381
  124. #define CM_HELPUSING            24382
  125. #define CM_HELPABOUT            24389
  126.  
  127.  
  128. // Context sensitive help cursor.
  129. #define IDC_HELPCURSOR          24000
  130.  
  131.  
  132. //
  133. // About Dialogs
  134. //
  135. #define IDD_ABOUT            22000
  136. #define IDC_VERSION             22001
  137. #define IDC_DEBUG               22003
  138.  
  139. //
  140. // OWL defined strings
  141. //
  142.  
  143. // Statusbar
  144. #define IDS_MODES               32530
  145.  
  146. // EditFile
  147. #define IDS_UNTITLED            32550
  148. #define IDS_UNABLEREAD          32551
  149. #define IDS_UNABLEWRITE         32552
  150. #define IDS_FILECHANGED         32553
  151. #define IDS_FILEFILTER          32554
  152.                                 
  153. // EditSearch
  154. #define IDS_CANNOTFIND          32540
  155.  
  156.  
  157. //
  158. // General & application exception messages (include\owl\except.rh)
  159. //
  160. #define IDS_UNKNOWNEXCEPTION    32767
  161. #define IDS_OWLEXCEPTION        32766
  162. #define IDS_OKTORESUME          32765
  163. #define IDS_UNHANDLEDXMSG       32764
  164. #define IDS_UNKNOWNERROR        32763
  165. #define IDS_NOAPP               32762
  166. #define IDS_OUTOFMEMORY         32761
  167. #define IDS_INVALIDMODULE       32760
  168. #define IDS_INVALIDMAINWINDOW   32759
  169.  
  170. //
  171. // Owl 1 compatibility messages
  172. //
  173. #define IDS_INVALIDWINDOW       32756
  174. #define IDS_INVALIDCHILDWINDOW  32755
  175. #define IDS_INVALIDCLIENTWINDOW 32754
  176.  
  177. //
  178. // TXWindow messages
  179. //
  180. #define IDS_CLASSREGISTERFAIL   32749
  181. #define IDS_CHILDREGISTERFAIL   32748
  182. #define IDS_WINDOWCREATEFAIL    32747
  183. #define IDS_WINDOWEXECUTEFAIL   32746
  184. #define IDS_CHILDCREATEFAIL     32745
  185.  
  186. #define IDS_MENUFAILURE         32744
  187. #define IDS_VALIDATORSYNTAX     32743
  188. #define IDS_PRINTERERROR        32742
  189.  
  190. #define IDS_LAYOUTINCOMPLETE    32741
  191. #define IDS_LAYOUTBADRELWIN     32740
  192.  
  193. //
  194. // TXGdi messages
  195. //
  196. #define IDS_GDIFAILURE          32739
  197. #define IDS_GDIALLOCFAIL        32738
  198. #define IDS_GDICREATEFAIL       32737
  199. #define IDS_GDIRESLOADFAIL      32736
  200. #define IDS_GDIFILEREADFAIL     32735
  201. #define IDS_GDIDELETEFAIL       32734
  202. #define IDS_GDIDESTROYFAIL      32733
  203. #define IDS_INVALIDDIBHANDLE    32732
  204.  
  205.  
  206. //
  207. // Printing error message string resource IDs (include\owl\printer.rh)
  208. //
  209. #define IDS_PRNON               32590
  210. #define IDS_PRNERRORTEMPLATE    32591
  211. #define IDS_PRNOUTOFMEMORY      32592
  212. #define IDS_PRNOUTOFDISK        32593
  213. #define IDS_PRNCANCEL           32594
  214. #define IDS_PRNMGRABORT         32595
  215. #define IDS_PRNGENERROR         32596
  216. #define IDS_PRNERRORCAPTION     32597
  217.  
  218.  
  219. //
  220. // Printer abort dialog & control IDs
  221. //
  222. #define IDD_ABORTDIALOG         32599
  223. #define ID_TITLE                101
  224. #define ID_DEVICE               102
  225. #define ID_PORT                 103
  226.  
  227.  
  228. //
  229. // Print Preview
  230. //
  231. #define APX_PPR_PREVIOUS        24500
  232. #define APX_PPR_NEXT            24501
  233. #define APX_PPR_ONEUP           24502
  234. #define APX_PPR_TWOUP           24503
  235. #define APX_PPR_CURRPAGE        24504
  236.  
  237.  
  238. // TInputDialog DIALOG resource (include\owl\inputdia.rh)
  239. #define IDD_INPUTDIALOG         32514
  240. #define ID_PROMPT               4091
  241. #define ID_INPUT                4090
  242.  
  243.  
  244. // TSlider bitmaps (horizontal and vertical) (include\owl\slider.rh)
  245. #define IDB_HSLIDERTHUMB        32000
  246. #define IDB_VSLIDERTHUMB        32001
  247.  
  248.  
  249. // Validation messages (include\owl\validate.rh)
  250. #define IDS_VALPXPCONFORM       32520
  251. #define IDS_VALINVALIDCHAR      32521
  252. #define IDS_VALNOTINRANGE       32522
  253. #define IDS_VALNOTINLIST        32523
  254.  
  255.  
  256. //#endif         // __emedtapp_rh sentry.
  257.