home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv7.zip / VACPP / IBMCPP / smarts / VB / READ.ME next >
Text File  |  1995-06-05  |  2KB  |  46 lines

  1.  
  2. Project Smarts - Visual Builder README
  3. --------------------------------------
  4.  
  5. Included with your Visual Builder project is a parts file called  
  6. WinMenu.vbb.  It contains a single part called 'WinMenu', that    
  7. consists of a frame window with a canvas and few basic push       
  8. buttons, 'OK', 'Cancel', and 'Help'.                              
  9.  
  10. It also also contains a basic menu bar with some the standard CUA
  11. pulldowns, 'File', 'Edit', 'View', and 'Help'.
  12.  
  13. The only controls that are connected are the 'Cancel' push button 
  14. and the 'Exit' menu item.
  15.  
  16. Building the Project
  17. --------------------
  18.  
  19. To build the executable, you must first generate the source files
  20. through the Visual Builder tool:
  21.  
  22. 1. Select the WinMenu.vbb file in the project and select
  23.    the 'Visual' menu item from its pop-up menu.  (Startup takes 
  24.    a few minutes so please be patient).
  25.  
  26.    Two windows appear:
  27.      - C Set ++ Visual Builder
  28.      - WinMenu - Composition Editor
  29.  
  30. 2. To generate the source files, from the 'WinMenu - Composition Editor'
  31.    window's 'File' menu:
  32.  
  33.      - Select 'Save and generate -> Part source' to generate the
  34.        source for the Visual Builder part shown in the window.
  35.  
  36.      - Select 'Save and generate -> Main for part' to generate the
  37.        source for the program's 'main' function.
  38.  
  39.    The source code is now generated and ready to be compiled. The 
  40.    files are generated in the project's working directory.
  41.    Select 'Refresh now' from the project's system menu to see them.
  42.  
  43. 3. To build the VBMAIN.EXE executable program, invoke the project 
  44.    pop-up menu and select 'Build'.  
  45.  
  46.