home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / EXPERT.PAK / TAPPLICA.OWL < prev    next >
Text File  |  1995-08-29  |  16KB  |  565 lines

  1. '////////////////////////////////////////////////////////////////////////////////////   
  2. '   Expert PROJECT
  3. '   Expert - (C) Copyright 1993 by Borland International, Inc. All Rights Reserved.
  4. '
  5. '   SUBSYSTEM:    OWL code template at AppGen time
  6. '   FILE:         TApplica.OWL
  7. '
  8. '
  9. '   OVERVIEW
  10. '   ========
  11. '////////////////////////////////////////////////////////////////////////////////////   
  12.  
  13.  
  14. '
  15. ' RC file.
  16. <<[RC]TApplication [[TApplication]]
  17. ##{rc.owl}
  18. >>[RC]TApplication [[TApplication]]
  19.  
  20.  
  21. <<[H]TApplication [[TApplication]]
  22. ##--BEGIN-- @OPT_APPL_DOCVIEW
  23. ##((@QUERY_APPL_MODEL == VALUE_SDI) || (@QUERY_APPL_MODEL == VALUE_DIALOG))
  24. ##:     {hsdidocv.owl}
  25. ##*
  26. ##@QUERY_APPL_MODEL == VALUE_MDI
  27. ##:     {hmdidocv.owl}
  28. ##*
  29. ##--END-- @OPT_APPL_DOCVIEW
  30. ##--BEGIN-- !@OPT_APPL_DOCVIEW
  31. ##((@QUERY_APPL_MODEL == VALUE_SDI) || (@QUERY_APPL_MODEL == VALUE_DIALOG))
  32. ##:     {hsdi.owl}
  33. ##*
  34. ##@QUERY_APPL_MODEL == VALUE_MDI
  35. ##:     {hmdi.owl}
  36. ##*
  37. ##--END-- !@OPT_APPL_DOCVIEW
  38. >>[H]TApplication
  39.  
  40.  
  41. '
  42. ' TApplication .CPP file.
  43. '
  44. <<[CPP]TApplication [[TApplication]]
  45. ##--BEGIN-- @OPT_APPL_DOCVIEW
  46. ##((@QUERY_APPL_MODEL == VALUE_SDI) || (@QUERY_APPL_MODEL == VALUE_DIALOG))
  47. ##:     {csdidocv.owl}
  48. ##*
  49. ##@QUERY_APPL_MODEL == VALUE_MDI
  50. ##:     {cmdidocv.owl}
  51. ##*
  52. ##--END-- @OPT_APPL_DOCVIEW
  53. ##--BEGIN-- !@OPT_APPL_DOCVIEW
  54. ##((@QUERY_APPL_MODEL == VALUE_SDI) || (@QUERY_APPL_MODEL == VALUE_DIALOG))
  55. ##:     {csdi.owl}
  56. ##*
  57. ##@QUERY_APPL_MODEL == VALUE_MDI
  58. ##:     {cmdi.owl}
  59. ##*
  60. ##--END-- !@OPT_APPL_DOCVIEW
  61. >>[CPP]TApplication
  62.  
  63.  
  64. '
  65. ' Resource header file.  (.RH)
  66. '
  67. <<[RH]TApplication [[TApplication]]
  68. ##QUERY_FILENAME_CPP [[Filename]]  2
  69. //#if !defined(__[[Filename]]_rh)                // Sentry use file only if it's not already included.
  70. //#define __[[Filename]]_rh
  71.  
  72. ##@QUERY_PRJ_NAME [[Project]]
  73. /*  Project [[Project]]
  74. ##@QUERY_PRJ_COMPANY [[CompanyName]] 2
  75. ##@QUERY_PRJ_COPYRIGHT [[Copyright]] 2
  76. ##\\Copyright Copyright 2
  77.     [[CompanyName]]
  78.     [[Copyright]]
  79.  
  80. ##@QUERY_TARGET_NAME [[Target]]
  81.     SUBSYSTEM:    [[Target]] Application
  82. ##QUERY_FILE_H [[Filename]]
  83.     FILE:         [[Filename]]
  84. ##@QUERY_PRJ_USER [[Author]]
  85.     AUTHOR:       [[Author]]
  86.  
  87.  
  88.     OVERVIEW
  89.     ========
  90. ##QUERY_FILENAME_CPP [[Filename]]
  91.     Constant definitions for all resources defined in [[Filename]].rc.      
  92. */
  93.  
  94.  
  95. //
  96. // IDHELP BorButton for BWCC dialogs.
  97. //
  98. #define IDHELP                  998             // Id of help button
  99.  
  100.  
  101. //
  102. // Application specific definitions:
  103. //
  104. ##((@QUERY_APPL_MODEL == VALUE_SDI) || (@QUERY_APPL_MODEL == VALUE_DIALOG))
  105. #define IDI_SDIAPPLICATION      1001            // Application icon
  106. ##@QUERY_APPL_MODEL == VALUE_MDI
  107. #define IDI_MDIAPPLICATION      1001            // Application icon
  108. ##@QUERY_APPL_MODEL == VALUE_MDI
  109. #define IDI_DOC                 1002            // MDI child window icon
  110.  
  111. ##@QUERY_APPL_MODEL == VALUE_MDI
  112. #define MDI_MENU                100             // Menu resource ID and Accelerator IDs
  113. ##((@QUERY_APPL_MODEL == VALUE_SDI) || (@QUERY_APPL_MODEL == VALUE_DIALOG))
  114. #define SDI_MENU                100             // Menu resource ID and Accelerator IDs
  115.  
  116. ##--BEGIN-- @OPT_APPL_DOCVIEW
  117. #define IDM_DOCMANAGERFILE      32401           // Menu for DocManager merging.
  118. #define IDM_EDITVIEW               32581           // Menu for TEditView merging.
  119. #define IDM_LISTVIEW            32582           // Menu for TListView merging.
  120.  
  121. ##--END-- @OPT_APPL_DOCVIEW
  122. ##--BEGIN-- @QUERY_APPL_OLE != VALUE_NOOLE
  123. //
  124. // OleView merged menus (include\owl\oleview.rh)
  125. //
  126. #define IDM_OLEPOPUP            32405
  127. #define IDM_OLEVIEW             32406
  128. #define IDM_OLEVIEWEMBED        32407
  129.  
  130.  
  131. ##--END-- @QUERY_APPL_OLE != VALUE_NOOLE
  132. //
  133. // CM_FILEnnnn commands (include\owl\editfile.rh except for CM_FILEPRINTPREVIEW)
  134. //
  135. ##((@QUERY_APPL_MODEL == VALUE_SDI) || (@QUERY_APPL_MODEL == VALUE_DIALOG)) 2
  136. #define CM_FILENEW              24331           // SDI New
  137. #define CM_FILEOPEN             24332           // SDI Open
  138. ##@QUERY_APPL_MODEL == VALUE_MDI 2
  139. #define CM_MDIFILENEW           24331
  140. #define CM_MDIFILEOPEN          24332
  141. #define CM_FILECLOSE            24339
  142. #define CM_FILESAVE             24333
  143. #define CM_FILESAVEAS           24334
  144. ##@OPT_APPL_DOCVIEW 2
  145. #define CM_FILEREVERT           24335
  146. #define CM_VIEWCREATE           24341
  147. ##@OPT_APPL_PRINTING 3
  148. #define CM_FILEPRINT            24337
  149. #define CM_FILEPRINTERSETUP     24338
  150. #define CM_FILEPRINTPREVIEW     24340
  151.  
  152.  
  153. //
  154. // Window commands (include\owl\window.rh)
  155. //
  156. #define CM_EXIT                 24310
  157.  
  158.  
  159. //
  160. // CM_EDITnnnn commands (include\owl\window.rh)
  161. //
  162. #define CM_EDITUNDO             24321
  163. #define CM_EDITCUT              24322
  164. #define CM_EDITCOPY             24323
  165. #define CM_EDITPASTE            24324
  166. #define CM_EDITDELETE           24325
  167. #define CM_EDITCLEAR            24326
  168. #define CM_EDITADD              24327
  169. #define CM_EDITEDIT             24328
  170. ##--BEGIN-- @QUERY_APPL_OLE != VALUE_NOOLE
  171. #define CM_EDITPASTESPECIAL     24311
  172. #define CM_EDITPASTELINK         24312
  173. #define CM_EDITINSERTOBJECT     24313
  174. #define CM_EDITLINKS            24314
  175.  
  176. #define CM_EDITOBJECT           24370
  177. #define CM_EDITFIRSTVERB        24371       // 20 verbs at most
  178. #define CM_EDITLASTVERB         24390
  179.  
  180. #define CM_EDITCONVERT          24391
  181. #define CM_EDITSHOWOBJECTS      24392
  182. ##--END-- @QUERY_APPL_OLE != VALUE_NOOLE
  183.  
  184.  
  185. //
  186. // Search menu commands (include\owl\editsear.rh)
  187. //
  188. #define CM_EDITFIND             24351
  189. #define CM_EDITREPLACE          24352
  190. #define CM_EDITFINDNEXT         24353
  191. ##--BEGIN-- @QUERY_APPL_MODEL == VALUE_MDI
  192.  
  193.  
  194. //
  195. // Windows menu commands (include\owl\mdi.rh)
  196. //
  197. #define CM_CASCADECHILDREN      24361
  198. #define CM_TILECHILDREN         24362
  199. #define CM_TILECHILDRENHORIZ    24363
  200. #define CM_ARRANGEICONS         24364
  201. #define CM_CLOSECHILDREN        24365
  202. #define CM_CREATECHILD          24366
  203. ##--END-- @QUERY_APPL_MODEL == VALUE_MDI
  204.  
  205.  
  206. //
  207. // Help menu commands.
  208. //
  209. ##--BEGIN-- @OPT_APPL_HELP
  210. #define CM_HELPCONTENTS         2001
  211. #define CM_HELPUSING            2002
  212. ##--END-- @OPT_APPL_HELP
  213. #define CM_HELPABOUT            2009
  214.  
  215.  
  216. ##--BEGIN-- @OPT_APPL_HELP
  217. // Context sensitive help cursor.
  218. #define IDC_HELPCURSOR          24000
  219.  
  220.  
  221. ##--END-- @OPT_APPL_HELP
  222. ##--BEGIN-- ((@QUERY_APPL_MODEL != VALUE_DIALOG) || ((@QUERY_APPL_MODEL == VALUE_DIALOG) && @QUERY_APPL_DLGCLIENT_MENU))
  223. //
  224. // About Dialogs
  225. //
  226. ##      :<<TDialog QUERY_DLOG [[DLogRsrc]]
  227. #define [[DLogRsrc]]               22000
  228. #define IDC_VERSION             22001
  229. #define IDC_COPYRIGHT           22002
  230. #define IDC_DEBUG               22003
  231.  
  232.  
  233. ##--END-- ((@QUERY_APPL_MODEL != VALUE_DIALOG) || ((@QUERY_APPL_MODEL == VALUE_DIALOG) && @QUERY_APPL_DLGCLIENT_MENU))
  234. ##--BEGIN-- @QUERY_APPL_MODEL == VALUE_DIALOG
  235. //
  236. // Client Dialog
  237. //
  238. ##@QUERY_APPL_DLGCLIENT [[ClientClass]]
  239. ##<<*ClientClass QUERY_DLOG [[DLogRsrc]]
  240. #define [[DLogRsrc]]               2000
  241.  
  242.  
  243. ##--END-- @QUERY_APPL_MODEL == VALUE_DIALOG
  244. //
  245. // OWL defined strings
  246. //
  247.  
  248. // Statusbar
  249. #define IDS_MODES               32530
  250. #define IDS_MODESOFF            32531
  251.  
  252.  
  253. // EditFile
  254. ##!@OPT_APPL_DOCVIEW
  255. #define IDS_UNTITLED            32550
  256. #define IDS_UNABLEREAD          32551
  257. #define IDS_UNABLEWRITE         32552
  258. #define IDS_FILECHANGED         32553
  259. #define IDS_FILEFILTER          32554
  260.                                 
  261. // EditSearch                   
  262. #define IDS_CANNOTFIND          32540
  263.  
  264.  
  265. //
  266. // General & application exception messages (include\owl\except.rh)
  267. //
  268. #define IDS_UNKNOWNEXCEPTION    32767
  269. #define IDS_OWLEXCEPTION        32766
  270. #define IDS_OKTORESUME          32765
  271. #define IDS_UNHANDLEDXMSG       32764
  272. #define IDS_UNKNOWNERROR        32763
  273. #define IDS_NOAPP               32762
  274. #define IDS_OUTOFMEMORY         32761
  275. #define IDS_INVALIDMODULE       32760
  276. #define IDS_INVALIDMAINWINDOW   32759
  277. #define IDS_VBXLIBRARYFAIL      32758
  278.  
  279. //
  280. // Owl 1 compatibility messages
  281. //
  282. #define IDS_INVALIDWINDOW       32756
  283. #define IDS_INVALIDCHILDWINDOW  32755
  284. #define IDS_INVALIDCLIENTWINDOW 32754
  285.  
  286. //
  287. // TXWindow messages
  288. //
  289. #define IDS_CLASSREGISTERFAIL   32749
  290. #define IDS_CHILDREGISTERFAIL   32748
  291. #define IDS_WINDOWCREATEFAIL    32747
  292. #define IDS_WINDOWEXECUTEFAIL   32746
  293. #define IDS_CHILDCREATEFAIL     32745
  294.  
  295. #define IDS_MENUFAILURE         32744
  296. #define IDS_VALIDATORSYNTAX     32743
  297. #define IDS_PRINTERERROR        32742
  298.  
  299. #define IDS_LAYOUTINCOMPLETE    32741
  300. #define IDS_LAYOUTBADRELWIN     32740
  301.  
  302. //
  303. // TXGdi messages
  304. //
  305. #define IDS_GDIFAILURE          32739
  306. #define IDS_GDIALLOCFAIL        32738
  307. #define IDS_GDICREATEFAIL       32737
  308. #define IDS_GDIRESLOADFAIL      32736
  309. #define IDS_GDIFILEREADFAIL     32735
  310. #define IDS_GDIDELETEFAIL       32734
  311. #define IDS_GDIDESTROYFAIL      32733
  312. #define IDS_INVALIDDIBHANDLE    32732
  313. ##--BEGIN-- @OPT_APPL_DOCVIEW
  314.  
  315.  
  316. // ListView (include\owl\listview.rh)
  317. #define IDS_LISTNUM             32584
  318.  
  319.  
  320. // DocView (include\owl\docview.rh)
  321. #define IDS_DOCMANAGERFILE      32500
  322. #define IDS_DOCLIST             32501
  323. #define IDS_VIEWLIST            32502
  324. #define IDS_UNTITLED            32503
  325. #define IDS_UNABLEOPEN          32504
  326. #define IDS_UNABLECLOSE         32505
  327. #define IDS_READERROR           32506
  328. #define IDS_WRITEERROR          32507
  329. #define IDS_DOCCHANGED          32508
  330. #define IDS_NOTCHANGED          32509
  331. #define IDS_NODOCMANAGER        32510
  332. #define IDS_NOMEMORYFORVIEW     32511
  333. #define IDS_DUPLICATEDOC        32512
  334. ##--BEGIN-- @QUERY_APPL_OLE != VALUE_NOOLE
  335. #define IDS_EDITOBJECT          32600
  336. #define IDS_EDITCONVERT         32601
  337. #define IDS_CLOSESERVER         32602
  338. #define IDS_EXITSERVER          32603
  339.  
  340. // Text for clipboard format names
  341. #define IDS_CFTEXT              32610
  342. #define IDS_CFBITMAP            32611
  343. #define IDS_CFMETAFILE          32612
  344. #define IDS_CFSYLK              32613
  345. #define IDS_CFDIF               32614
  346. #define IDS_CFTIFF              32615
  347. #define IDS_CFOEMTEXT           32616
  348. #define IDS_CFDIB               32617
  349. #define IDS_CFPALETTE           32618
  350. #define IDS_CFPENDATA           32619
  351. #define IDS_CFRIFF              32620
  352. #define IDS_CFWAVE              32621
  353. #define IDS_CFUNICODETEXT       32622
  354. #define IDS_CFENHMETAFILE       32623
  355.  
  356. #define IDS_IN                  32700
  357. ##--END-- @QUERY_APPL_OLE != VALUE_NOOLE
  358. ##--END-- @OPT_APPL_DOCVIEW
  359. ##--BEGIN-- @OPT_APPL_PRINTING
  360.  
  361.  
  362. //
  363. // Printing error message string resource IDs (include\owl\printer.rh)
  364. //
  365. #define IDS_PRNON               32590
  366. #define IDS_PRNERRORTEMPLATE    32591
  367. #define IDS_PRNOUTOFMEMORY      32592
  368. #define IDS_PRNOUTOFDISK        32593
  369. #define IDS_PRNCANCEL           32594
  370. #define IDS_PRNMGRABORT         32595
  371. #define IDS_PRNGENERROR         32596
  372. #define IDS_PRNERRORCAPTION     32597
  373.  
  374.  
  375. //
  376. // Printer abort dialog & control IDs
  377. //
  378. #define IDD_ABORTDIALOG         32599            // keep different than any string IDs
  379. #define ID_TITLE                101              // Document title text control
  380. #define ID_DEVICE               102              // Device & optional port text control
  381. #define ID_PORT                 103              // Old port text control, unused
  382. #define ID_PAGE                 104              // Page # text control
  383.  
  384.  
  385. //
  386. // Print Preview
  387. //
  388. #define APX_PPR_PREVIOUS        24500
  389. #define APX_PPR_NEXT            24501
  390. #define APX_PPR_ONEUP           24502
  391. #define APX_PPR_TWOUP           24503
  392. #define APX_PPR_CURRPAGE        24504
  393. #define APX_PPR_DONE            24505
  394. ##--END-- @OPT_APPL_PRINTING
  395.  
  396.  
  397. // TInputDialog DIALOG resource (include\owl\inputdia.rh)
  398. #define IDD_INPUTDIALOG         32514
  399. #define ID_PROMPT               4091
  400. #define ID_INPUT                4090
  401.  
  402.  
  403. // TSlider bitmaps (horizontal and vertical) (include\owl\slider.rh)
  404. #define IDB_HSLIDERTHUMB        32000
  405. #define IDB_VSLIDERTHUMB        32001
  406.  
  407.  
  408. // Validation messages (include\owl\validate.rh)
  409. #define IDS_VALPXPCONFORM       32520
  410. #define IDS_VALINVALIDCHAR      32521
  411. #define IDS_VALNOTINRANGE       32522
  412. #define IDS_VALNOTINLIST        32523
  413.  
  414.  
  415. ##QUERY_FILENAME_CPP [[Filename]]
  416. //#endif         // __[[Filename]]_rh sentry.
  417. >>[RH]TApplication [[TApplication]]
  418.  
  419.  
  420. '
  421. ' DEF file
  422. '
  423. <<[DEF]TApplication [[TApplication]]
  424. ;------------------------------------------------
  425. ##@QUERY_PRJ_NAME [[Project]]
  426. ;   Project [[Project]]
  427. ##@QUERY_PRJ_COMPANY [[CompanyName]] 2
  428. ##@QUERY_PRJ_COPYRIGHT [[Copyright]] 2
  429. ##\\Copyright Copyright 2
  430. ;   [[CompanyName]]
  431. ;   [[Copyright]]
  432. ;
  433. ##@QUERY_TARGET_NAME [[Target]]
  434. ;   SUBSYSTEM:    [[Target]] Module Defintion File
  435. ##QUERY_FILENAME_CPP [[Filename]]
  436. ;   FILE:         [[Filename]].def
  437. ##@QUERY_PRJ_USER [[Author]]
  438. ;   AUTHOR:       [[Author]]
  439. ;
  440. ;------------------------------------------------
  441.  
  442. ##@QUERY_PRJ_NAME [[Project]]
  443. NAME [[Project]]
  444.  
  445. ##@QUERY_PRJ_NAME [[Project]]
  446. ##@QUERY_PRJ_COMPANY [[CompanyName]]
  447. ##@QUERY_PRJ_COPYRIGHT [[Copyright]]
  448. ##\\Copyright Copyright
  449. DESCRIPTION '[[Project]] Application - [[Copyright]]'
  450. EXETYPE     WINDOWS
  451. CODE        PRELOAD MOVEABLE DISCARDABLE
  452. DATA        PRELOAD MOVEABLE
  453. HEAPSIZE    4096
  454. STACKSIZE   8192
  455. >>[DEF]TApplication [[TApplication]]
  456.  
  457.  
  458. '
  459. ' Help project file
  460. '
  461. <<[HPJ]TApplication [[TApplication]]
  462. ##--BEGIN--@OPT_APPL_HELP
  463. [OPTIONS]
  464. CONTENTS=main_index
  465. ##@QUERY_TARGET_NAME [[Target]]
  466. TITLE=[[Target]]
  467. COMPRESS=true
  468. WARNING=2
  469.  
  470. [FILES]
  471. mainhelp.rtf      ; main topics
  472. ##(((@QUERY_APPL_MODEL == VALUE_DIALOG) && @QUERY_APPL_DLGCLIENT_MENU) || (@QUERY_APPL_MODEL != VALUE_DIALOG))
  473. ##@OPT_APPL_TOOLBAR
  474. toolbar.rtf       ; toolbar topics
  475. keys.rtf          ; keyboard topics
  476.  
  477. [BITMAPS]
  478. helpicon.bmp
  479.  
  480. [MAP]
  481. ##HelpIncPath([[IncPath]])
  482. #include <[[IncPath]].rh>
  483. ##--END-- @QUERY_DIR_H [[HDir]]
  484. ##--END--@OPT_APPL_HELP
  485. >>[HPJ]TApplication [[TApplication]]
  486.  
  487.  
  488. '
  489. ' .MAK file
  490. '
  491. '<<[MAK]TApplication [[TApplication]]
  492. '##{make.owl}
  493. '>>[MAK]TApplication [[TApplication]]
  494.  
  495.  
  496. '
  497. ' Additional files must be created (.BMP, .ICO, .CUR)
  498. <<[FILES]TApplication [[TApplication]]
  499. ##--BEGIN-- @OPT_APPL_PRINTING
  500. @ "apxprint.cpp" > *[CPP]
  501. @ "apxprint.h" > [H]
  502. ##:    @QUERY_DIR_CPP [[CPPDir]]
  503. ##:    --BEGIN-- @QUERY_DIR_H [[HDir]]
  504. ##:    AddToProject(\\"[[HDir]]apxprint.h", \\"[[CPPDir]]apxprint.cpp")
  505. ##*
  506. ##:    --END-- @QUERY_DIR_H [[HDir]]
  507. @ "apxprev.cpp" > [CPP]
  508. @ "apxprev.h" > [H]
  509. ##--END-- @OPT_APPL_PRINTING
  510. ##@QUERY_APPL_CONTROL == VALUE_BWCC
  511. COPY "borabout.bmp" [RC]
  512. ##(((@QUERY_APPL_MODEL == VALUE_DIALOG) && @QUERY_APPL_DLGCLIENT_MENU) || (@QUERY_APPL_MODEL != VALUE_DIALOG))
  513. ##--BEGIN-- @OPT_APPL_TOOLBAR
  514. COPY "new.bmp" [RC]
  515. COPY "open.bmp" [RC]
  516. COPY "save.bmp" [RC]
  517. COPY "undo.bmp" [RC]
  518. COPY "cut.bmp" [RC]
  519. COPY "copy.bmp" [RC]
  520. COPY "paste.bmp" [RC] 
  521. COPY "find.bmp" [RC]
  522. COPY "findnext.bmp" [RC]
  523. ##@OPT_APPL_PRINTING
  524. COPY "preview.bmp" [RC]
  525. ##--END-- @OPT_APPL_TOOLBAR
  526. ##--BEGIN-- @OPT_APPL_PRINTING
  527. COPY "previous.bmp" [RC]
  528. COPY "next.bmp" [RC]
  529. COPY "preview1.bmp" [RC]
  530. COPY "preview2.bmp" [RC]
  531. COPY "prexit.bmp" [RC]
  532. ##--END-- @OPT_APPL_PRINTING
  533. ##(((@QUERY_APPL_MODEL == VALUE_DIALOG) && @QUERY_APPL_DLGCLIENT_MENU) || (@QUERY_APPL_MODEL != VALUE_DIALOG))
  534. ##(@OPT_APPL_TOOLBAR || @OPT_APPL_PRINTING)
  535. COPY "print.bmp" [RC]
  536. ##--BEGIN-- @OPT_APPL_HELP
  537. COPY "help.bmp" [RC]
  538. COPY "helpicon.bmp" [RC]
  539. ##@QUERY_DIR_CPP [[CPPDir]]
  540. ##@QUERY_DIR_H [[HDir]]
  541. ##--BEGIN-- @QUERY_APPL_HELP [[Target]]
  542. ##QUERY_FILENAME_CPP [[FileName]]
  543. ##:     AddToProject(\\"[[HDir]][[FileName]].rh", \\"[[CPPDir]][[Target]].hpj")
  544. ##*
  545. @ "mainhelp.rtf" > [RC]
  546. ##:     AddToProject(\\"[[CPPDir]]mainhelp.rtf", \\"[[CPPDir]][[Target]].hpj")
  547. ##*
  548. ##(((@QUERY_APPL_MODEL == VALUE_DIALOG) && @QUERY_APPL_DLGCLIENT_MENU) || (@QUERY_APPL_MODEL != VALUE_DIALOG))
  549. ##@OPT_APPL_TOOLBAR 2
  550. @ "toolbar.rtf" > [RC]
  551. ##:     AddToProject(\\"[[CPPDir]]toolbar.rtf", \\"[[CPPDir]][[Target]].hpj")
  552. ##*
  553. @ "keys.rtf" > [RC]
  554. ##:     AddToProject(\\"[[CPPDir]]keys.rtf", \\"[[CPPDir]][[Target]].hpj")
  555. ##*
  556. ##--END-- @QUERY_TARGET_NAME [[Target]]
  557. COPY "help.cur" [RC]
  558. ##--END-- @OPT_APPL_HELP
  559. ##<<TApplication QUERY_WIND_ICON [[Icon]]
  560. COPY "[[Icon]]" [RC]
  561. ##@QUERY_APPL_MODEL == VALUE_MDI
  562. ##:     <<TMDIChild QUERY_WIND_ICON [[Icon]]
  563. COPY "[[Icon]]" [RC]
  564. >>[FILES]TApplication [[TApplication]]
  565.