home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / smarts / vb / read.me next >
Encoding:
Text File  |  1996-02-21  |  3.3 KB  |  92 lines

  1. --------------------------------------------------------------------------------
  2. --
  3. -- COPYRIGHT:
  4. --   IBM WorkFrame - Project Smarts
  5. --   (C) Copyright International Business Machines Corporation 1996
  6. --   Licensed Material - Program-Property of IBM - All Rights Reserved.
  7. --   US Government Users Restricted Rights - Use, duplication, or disclosure
  8. --   restricted by GSA ADP Schedule Contract with IBM Corp.
  9. --
  10. --------------------------------------------------------------------------------
  11.  
  12. Project Smarts - Visual Builder README
  13. ======================================
  14.  
  15. The project is organized into the following hierarchy
  16. which reflects the interdependencies between the projects:
  17.  
  18.         +-------------------------------------+
  19.         |   Visual Builder Application        |
  20.         |   (Builds the executable program)   |
  21.         +-------------------------------------+
  22.                         |
  23.                         |
  24.                         v
  25.            +---------------------------+
  26.            |     Help Project          |
  27.            | (Builds the application's |
  28.            |       help library)       |
  29.            +---------------------------+
  30.  
  31.  
  32. About this Project
  33. __________________
  34.  
  35. Included with your Visual Builder project is a parts file called
  36. $FILE_NAME:tolower$.vbb.  It contains a single part called 'WinMenu', that
  37. consists of a frame window with a multi-cell canvas and few basic
  38. push buttons, 'OK', 'Cancel', and 'Help'.
  39.  
  40. It also also contains a basic menu bar with some the standard CUA
  41. pulldowns, 'File', 'Edit', 'View', and 'Help'.
  42.  
  43. The only controls that are connected are the 'Cancel' push button
  44. and the 'Exit' menu item.
  45.  
  46. <if ($IPF$)>
  47. There is also an IPF help source file $FILE_NAME:tolower$.ipf that
  48. is created in a nested IPF Help project.
  49. </if>
  50. <if ($RTF$)>
  51. There is also an RTF help source files, $FILE_NAME:tolower$.rtf and
  52. $FILE_NAME:tolower$.hpj, in a nested RTF Help project.
  53. </if>
  54.  
  55. Only the connected controls, the 'Cancel' push button and the 'Exit'
  56. menu item have help.  There is also help for the entire window.
  57.  
  58. The Help subproject is set up to build the help library.  It is
  59. built together with the main project.
  60.  
  61.  
  62. Building the Project
  63. ____________________
  64.  
  65. To build the executable, you must first generate the source files
  66. using the Visual Builder tool:
  67.  
  68. 1. Select the $FILE_NAME:tolower$.vbb file in the project and select
  69.    the 'Visual' menu item from its pop-up menu.  (Startup takes
  70.    a few moments so please be patient).
  71.  
  72.    Two windows appear:
  73.      - VisualAge for C++ Visual Builder
  74.      - WinMenu - Composition Editor
  75.  
  76. 2. To generate the source files, from the 'WinMenu - Composition Editor'
  77.    window's 'File' menu:
  78.  
  79.      - Select 'Save and generate -> Part source' to generate the
  80.        source for the Visual Builder part shown in the window.
  81.  
  82.      - Then select 'Save and generate -> Main for part' to generate the
  83.        source for the program's 'main' function.
  84.  
  85.    The source code is now generated and ready to be compiled. The
  86.    files are generated into the project's working directory.
  87.    Select 'Refresh now' from the project's system menu to see them.
  88.  
  89. 3. To build the VBMAIN.EXE executable program and the help library,
  90.    select "Build Normal" from the Project menu.
  91.  
  92.