home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / APXSDI.PAK / APXSDAPP.RH < prev    next >
Encoding:
Text File  |  1997-05-06  |  5.6 KB  |  217 lines

  1. //----------------------------------------------------------------------------
  2. //  Project ApxSdi
  3. //  Borland International
  4. //  Copyright ⌐ 1996. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:    ApxSdi Application
  7. //  FILE:         apxsdapp.h
  8. //  AUTHOR:       
  9. //
  10. //  OVERVIEW
  11. //  ~~~~~~~~
  12. //  Constant definitions for all resources defined in apxsdapp.rc.
  13. //
  14. //----------------------------------------------------------------------------
  15. //#if !defined(apxsdapp_rh)   // Sentry use file only if it's not already included.
  16. //#define apxsdapp_rh
  17.  
  18.  
  19. //
  20. // Application specific definitions:
  21. //
  22. #define IDI_SDIAPPLICATION      1001            // Application icon
  23.  
  24. #define IDM_SDI                 100             // Menu resource ID and Accelerator IDs
  25.  
  26. #define IDM_PRINTPREVIEW        200             // Accelerator ID for Print Preview window.
  27.  
  28. //
  29. // CM_FILEnnnn commands (include/owl/editfile.rh except for CM_FILEPRINTPREVIEW)
  30. //
  31. #define CM_FILENEW              24331           // SDI New
  32. #define CM_FILEOPEN             24332           // SDI Open
  33. #define CM_FILECLOSE            24339
  34. #define CM_FILESAVE             24333
  35. #define CM_FILESAVEAS           24334
  36. #define CM_FILEPRINT            24337
  37. #define CM_FILEPRINTERSETUP     24338
  38. #define CM_FILEPRINTPREVIEW     24340
  39.  
  40.  
  41. //
  42. // Window commands (include/owl/window.rh)
  43. //
  44. #define CM_EXIT                 24310
  45.  
  46.  
  47. //
  48. // CM_EDITnnnn commands (include/owl/window.rh)
  49. //
  50. #define CM_EDITUNDO             24321
  51. #define CM_EDITCUT              24322
  52. #define CM_EDITCOPY             24323
  53. #define CM_EDITPASTE            24324
  54. #define CM_EDITDELETE           24325
  55. #define CM_EDITCLEAR            24326
  56. #define CM_EDITADD              24327
  57. #define CM_EDITEDIT             24328
  58.  
  59.  
  60. //
  61. // Search menu commands (include/owl/editsear.rh)
  62. //
  63. #define CM_EDITFIND             24351
  64. #define CM_EDITREPLACE          24352
  65. #define CM_EDITFINDNEXT         24353
  66.  
  67.  
  68. //
  69. // Help menu commands.
  70. //
  71. #define CM_HELPABOUT            2009
  72.  
  73.  
  74. //
  75. // About Dialogs
  76. //
  77. #define IDD_ABOUT               22000
  78. #define IDC_VERSION             22001
  79. #define IDC_COPYRIGHT           22002
  80. #define IDC_DEBUG               22003
  81.  
  82.  
  83. //
  84. // OWL defined strings
  85. //
  86.  
  87. //
  88. // Statusbar
  89. //
  90. #define IDS_MODES               32530
  91. #define IDS_MODESOFF            32531
  92.  
  93. //
  94. // EditFile
  95. //
  96. #define IDS_UNTITLED            32550
  97. #define IDS_UNABLEREAD          32551
  98. #define IDS_UNABLEWRITE         32552
  99. #define IDS_FILECHANGED         32553
  100. #define IDS_FILEFILTER          32554
  101.  
  102. //
  103. // EditSearch
  104. //
  105. #define IDS_CANNOTFIND          32540
  106.  
  107.  
  108. //
  109. // General & application exception messages (include/owl/except.rh)
  110. //
  111. #define IDS_UNKNOWNEXCEPTION    32767
  112. #define IDS_OWLEXCEPTION        32766
  113. #define IDS_OKTORESUME          32765
  114. #define IDS_UNHANDLEDXMSG       32764
  115. #define IDS_UNKNOWNERROR        32763
  116. #define IDS_NOAPP               32762
  117. #define IDS_OUTOFMEMORY         32761
  118. #define IDS_INVALIDMODULE       32760
  119. #define IDS_INVALIDMAINWINDOW   32759
  120. #define IDS_VBXLIBRARYFAIL      32758
  121.  
  122. //
  123. // Owl 1 compatibility messages
  124. //
  125. #define IDS_INVALIDWINDOW       32709
  126. #define IDS_INVALIDCHILDWINDOW  32708
  127. #define IDS_INVALIDCLIENTWINDOW 32707
  128.  
  129. //
  130. // TXWindow messages
  131. //
  132. #define IDS_CLASSREGISTERFAIL   32749
  133. #define IDS_CHILDREGISTERFAIL   32748
  134. #define IDS_WINDOWCREATEFAIL    32747
  135. #define IDS_WINDOWEXECUTEFAIL   32746
  136. #define IDS_CHILDCREATEFAIL     32745
  137.  
  138. #define IDS_MENUFAILURE         32744
  139. #define IDS_VALIDATORSYNTAX     32743
  140. #define IDS_PRINTERERROR        32742
  141.  
  142. #define IDS_LAYOUTINCOMPLETE    32741
  143. #define IDS_LAYOUTBADRELWIN     32740
  144.  
  145. //
  146. // TXGdi messages
  147. //
  148. #define IDS_GDIFAILURE          32739
  149. #define IDS_GDIALLOCFAIL        32738
  150. #define IDS_GDICREATEFAIL       32737
  151. #define IDS_GDIRESLOADFAIL      32736
  152. #define IDS_GDIFILEREADFAIL     32735
  153. #define IDS_GDIDELETEFAIL       32734
  154. #define IDS_GDIDESTROYFAIL      32733
  155. #define IDS_INVALIDDIBHANDLE    32732
  156.  
  157.  
  158. //
  159. // Printing error message string resource IDs (include/owl/printer.rh)
  160. //
  161. #define IDS_PRNON               32590
  162. #define IDS_PRNERRORTEMPLATE    32591
  163. #define IDS_PRNOUTOFMEMORY      32592
  164. #define IDS_PRNOUTOFDISK        32593
  165. #define IDS_PRNCANCEL           32594
  166. #define IDS_PRNMGRABORT         32595
  167. #define IDS_PRNGENERROR         32596
  168. #define IDS_PRNERRORCAPTION     32597
  169.  
  170.  
  171. //
  172. // Printer abort dialog & control IDs
  173. //
  174. #define IDD_ABORTDIALOG         32599            // keep different than any string IDs
  175. #define ID_TITLE                101              // Document title text control
  176. #define ID_DEVICE               102              // Device & optional port text control
  177. #define ID_PORT                 103              // Old port text control, unused
  178. #define ID_PAGE                 104              // Page # text control
  179.  
  180.  
  181. //
  182. // Print Preview
  183. //
  184. #define APX_PPR_PREVIOUS        24500
  185. #define APX_PPR_NEXT            24501
  186. #define APX_PPR_ONEUP           24502
  187. #define APX_PPR_TWOUP           24503
  188. #define APX_PPR_CURRPAGE        24504
  189. #define APX_PPR_DONE            24505
  190.  
  191.  
  192. //
  193. // TInputDialog DIALOG resource (include/owl/inputdia.rh)
  194. //
  195. #define IDD_INPUTDIALOG         32514
  196. #define ID_PROMPT               4091
  197. #define ID_INPUT                4090
  198.  
  199.  
  200. //
  201. // TSlider bitmaps (horizontal and vertical) (include/owl/slider.rh)
  202. //
  203. #define IDB_HSLIDERTHUMB        32000
  204. #define IDB_VSLIDERTHUMB        32001
  205.  
  206.  
  207. //
  208. // Validation messages (include/owl/validate.rh)
  209. //
  210. #define IDS_VALPXPCONFORM       32520
  211. #define IDS_VALINVALIDCHAR      32521
  212. #define IDS_VALNOTINRANGE       32522
  213. #define IDS_VALNOTINLIST        32523
  214.  
  215.  
  216. //#endif  // apxsdapp_rh
  217.