home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / WINDOWS / PROGRAM / UCB.ZIP / README < prev    next >
Encoding:
Text File  |  1990-12-18  |  10.4 KB  |  306 lines

  1.  
  2.                         UCB/WordPlan (tm) 
  3.  
  4. (C) Copyright DEA Software 1982, 1986, 1990 All Rights Reserved
  5.  
  6. DEA SOFTWARE MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS
  7. MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  8. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  9.  
  10. DEA Software shall not be liable for errors contained herein or
  11. for incidental or consequential damages in connection with the
  12. furnishing, performance or use of this material. This document
  13. contains proprietary information which is protected by copyright.
  14. All rights are reserved. No part of this document may be
  15. photocopied, reproduced or translated to another program language
  16. without the prior written consent of DEA Software.
  17.  
  18.  
  19. Microsoft Windows is a trademark of Microsoft Corporation
  20. -----------------------------------------------------------------------------
  21.  
  22. UCB/WordPlan for Windows 3.0 is distributed as a shareware product. 
  23. We encourage users if they find UCB/WordPlan useful to send 
  24. DEA Software a donation of $79.95
  25.  
  26. We ask for your help in distributing UCB/WordPlan for Windows 3.0 to
  27. others and encouraging them to send donations to us.
  28.  
  29.     Send checks to:
  30.                         DEA Software
  31.                         P.O. Box 968
  32.                         Fremont, CA 94537
  33.  
  34.     What you get if you donate $79.95
  35.  
  36.     Our thanks and a copy of the latest UCB/WordPlan for Windows 3.0
  37.  
  38.     You will help make the shareware concept work. Without your
  39.     support we can not afford to maintain and create additional
  40.     shareware products.
  41.  
  42.  
  43. You may NOT:
  44.  
  45. 1.  Charge anything for UCB/WordPlan. An exception is made for
  46.     registered user groups who may charge a cost-based fee (not to
  47.     exceed $6) to cover their own costs.
  48.  
  49. 2.  Distribute this program in connection with any other product  or
  50.     service, or as part of a corporate or institutionally  supported
  51.     distribution.
  52.  
  53. 3.  Distribute the program in modified form.
  54.  
  55. -----------------------------------------------------------------------------
  56.  
  57. If you have made enhancements to the Windows 3.0 script files and
  58. would like to share them with others. Please put them on a 5 1/4
  59. disk and send them to DEA Software.  We will try to make them
  60. available to other users.
  61.  
  62. -----------------------------------------------------------------------------
  63.  
  64.                         UCB/WordPlan (tm) 
  65.  
  66.     UCB/WordPlan for Windows 3.0 is a program that will assist a 
  67.     appliction programmer in prototyping a MS Window application.
  68.     It will prompt the programmer for basic information about the
  69.     layout of the MS Window application and generate all necessary
  70.     files required to compile and link the MS Window prototype
  71.     application.
  72.  
  73.     The current distribution disk contains the following files.
  74.  
  75.     The UCB/WordPlan for Windows 3.0 files.
  76.  
  77.             UCB/WordPlan (Version A.01.00)
  78.         The following is the UCB/WordPlan program files
  79.  
  80.             UCB.COM      - A.01.00
  81.             UCB.000      - A.01.00
  82.             UCB.001      - A.01.00
  83.  
  84.             Windows 3.0 scripts (Version 1.0)
  85.             The following are the Windows 3.0 script files
  86.  
  87.         WINDOWS      - version 1.01 patched to fix ICON problem 12/17/90
  88.         MENUITEM.000 - version 1.00
  89.         MENUITEM.001 - version 1.00
  90.         MENUITEM.002 - version 1.00
  91.         MENUITEM.003 - version 1.00
  92.         SUBMENU.000  - version 1.00
  93.         SUBMENU.001  - version 1.00
  94.         SUBMENU.002  - version 1.00
  95.         SUBMENU.003  - version 1.00
  96.         DIALOG.000   - version 1.00
  97.         DIALOG.001   - version 1.00
  98.         DIALOG.002   - version 1.00
  99.         DIALOG.003   - version 1.00
  100.         CHILDWIN.000 - version 1.00
  101.  
  102.  
  103.  
  104. All the files MUST reside in the same directory and the resultant
  105. Windows 3.0 program files will also be generated in that directory.
  106.  
  107. NOTE!! You will need to have :
  108.  
  109.        Microsoft C 6.0 compiler
  110.        Microsoft Windows SDK for 3.0
  111.        Microsoft Windows 3.0 or above
  112.  
  113.  
  114. To install 
  115.     create a directory on your hard disk and copy
  116.         all the UCB/WordPlan files to it.
  117.  
  118. To run
  119.     > cd <to that directory that contain all the UCB/WordPlan files>
  120.     > ucb windows
  121.  
  122.     > <answer the questions> 
  123.  
  124.         press function key 8 (F8) to exit
  125.  
  126. Files generated are :
  127.  
  128.         <userapp>      - nmake file
  129.         <userapp>.h    - .h file
  130.         <userapp>.c    - .c source file
  131.         <userapp>.rc   - .rc resource file
  132.         <userapp>.def  - .def defination file
  133.  
  134. To compile
  135.     > nmake <userapp name>
  136.  
  137.  
  138. To run
  139.     > win <userapp name>
  140.  
  141.  
  142.  
  143. *** Note ****
  144.  
  145. 1. If you want UCB/WordPlan to generate code for dialog boxes you should
  146. create only one dialog box per dialog file.  Both the dialog box file
  147. name and the name of the dialog box MUST be the same.  
  148.  
  149. 2. The Windows 3.0 script support only one MODELESS dialog box.
  150. You can have as many MODAL dialog boxes as you want.
  151.  
  152. 3. If you connect the same dialog box to multiple Menu items the
  153. Windows 3.0 script will generate multiple dialog box procedures.
  154. You will need to modify the code by removing the multiple procedures.
  155.  
  156. 4. The Windows 3.0 script will generate in the <app>.h file
  157. the following #defines.
  158.  
  159. Change these values to fit your dialog boxes.
  160.  
  161. /* --------------------------------------------- */
  162. /* MODIFY these defines to fit your Dialog Boxes */
  163. /* --------------------------------------------- */
  164. #define ID_OK      1
  165. #define ID_CANCEL  2
  166.  
  167. 5. You should be able to use Microsoft C 5.1 but you must
  168. make the necessary changes to the nmake file.
  169.  
  170. 6. The Windows 3.0 script currently do not support the
  171. generation of cascading sub menus.
  172.  
  173. ----------------------------------------------------------------------------
  174.  
  175. Example execution:
  176.  
  177.  
  178. > ucb windows
  179.  
  180.  Processing script WINDOWS
  181.  
  182. Windows 3.0 Application Generator  (Version 1.0)
  183.  
  184. (C) Copyright DEA Software 1990
  185.  
  186. On questions that ask for a "1" for a positive response you
  187. can reply negatively with a "0" response.
  188.  
  189. Enter Name of Window program (Max 8 chars) TESTPROG
  190. Enter Window Caption string This is my Windows 3.0 program
  191. Enter a 1 if you have an Icon file             : 1
  192. Enter Name of Icon file MYICON
  193. Enter a 1 if to select a Cursor                : 1
  194. Standard Cursors
  195. 0 == IDC_ARROW,  1 == IDC_IBEAM,    2 == IDC_WAIT
  196. 3 == IDC_CROSS,  4 == IDC_UPARROW,  5 == IDC_SIZE
  197. 6 == IDC_ICON,
  198. Enter you cursor selection (0-6)                 : 3
  199. Enter a 1 if you wish to set Window position   : 1
  200. Enter initial x position                       : 10
  201. Enter initial y position                       : 50
  202. Enter initial x size                           : 200
  203. Enter initial y size                           : 200
  204. Enter a 1 if you want Vertical scroll bars     : 1
  205. Enter a 1 if you want Hort scroll bars         : 1
  206. Enter a 1 if you want System Menu              : 1
  207. Enter a 1 if you want Maximize box             : 0
  208. Enter a 1 if you want Minimize box             : 0
  209. Enter a 1 if you want to set Background color  : 1
  210. Background Brush Colors
  211. 0 == WHITE_BRUSH,  1 == LTGRAY_BRUSH, 2 == GRAY_BRUSH
  212. 3 == DKGRAY_BRUSH, 4 == BLACK_BRUSH,  5 == NULL_BRUSH
  213. Enter you brush selection (0-5)                 : 2
  214. Enter a 1 for Medium Model, or 0 if Small Model : 1
  215. Enter a 1 if you want a Mouse support           : 1
  216. Enter a 1 if you want a Character input support : 0
  217. Enter a 1 if you want a Timer procedure         : 1
  218. *************************************************************
  219. * Section to design the pulldown menus for your application *
  220. *************************************************************
  221. Enter Number of Main Menu Items                 : 3
  222.  
  223. Enter Main Menu name : &File
  224. Enter Number of Sub Menu items for "&File" : 3
  225. Enter Sub Menu #              1.00 Name : &Open
  226. Enter 0 = User code, 1 = Modal Dlg, 2 = Modeless Dlg : 1
  227. Enter Dialog Box name (Max 8 chars) OPENDLG
  228. Enter Sub Menu #              2.00 Name : &Run
  229. Enter 0 = User code, 1 = Modal Dlg, 2 = Modeless Dlg : 0
  230. Enter Sub Menu #              3.00 Name : &Exit
  231. Enter 0 = User code, 1 = Modal Dlg, 2 = Modeless Dlg : 0
  232.  
  233. Enter Main Menu name : &Edit
  234. Enter Number of Sub Menu items for "&Edit" : 3
  235. Enter Sub Menu #              1.00 Name : &Cut  
  236. Enter 0 = User code, 1 = Modal Dlg, 2 = Modeless Dlg : 0
  237. Enter Sub Menu #              2.00 Name : &Copy
  238. Enter 0 = User code, 1 = Modal Dlg, 2 = Modeless Dlg : 0
  239. Enter Sub Menu #              3.00 Name : &Paste
  240. Enter 0 = User code, 1 = Modal Dlg, 2 = Modeless Dlg : 0
  241.  
  242. Enter Main Menu name : &Help
  243. Enter Number of Sub Menu items for "&Help" : 0
  244. Enter 0 = User code, 1 = Modal Dlg, 2 = Modeless Dlg : 0
  245.  
  246.  
  247. Windows 3.0 Application Generated
  248.  
  249. ----------------------------------------------------------------------------
  250. - The above will have generated a MS Windows 3.0 application
  251. - Name of the application is "TESTPROG"
  252. - The title will be "This is my Windows 3.0 program" 
  253. - Display the icon "MYICON.ICO" when minimized
  254. - Display a IDC_CROSS cursor within the client area
  255. - When initially displayed it will be positioned at 10, 50
  256. - Its dimensions will be 200 by 200
  257. - It will display and have code to support Vertical Scroll bars
  258. - It will display and have code to support Hort Scroll bars
  259. - It will have a System Menu
  260. - The client area background will use the GRAY_BRUSH brush
  261. - The NMAKE file will compile for Medium Model
  262. - Code will be generated to support a Mouse in the client area
  263. - Code will be produced to support a Timer 
  264. - The application will have 3 Menus selections across the top
  265.  
  266.   ________________________________________________________________
  267.   |               This is my Windows 3.0 program
  268.   ----------------------------------------------------------------
  269.   | File    Edit    Help
  270.   ----------------------------------------------------------------- 
  271.   |
  272.   |                          
  273.  
  274. - The "File" menu will have 3 pulldown menu items
  275.  
  276.        File
  277.         Open  -  when selected will display a Modal Dialog Box "OPENDLG"
  278.         Run   -  support user code
  279.         Exit  -  support user code
  280.  
  281. - The "Edit" menu will have 3 pulldown menu items
  282.  
  283.        Edit
  284.         Cut    - support user code
  285.         Copy   - support user code
  286.         Paste  - support user code
  287.  
  288. - The "Help" menu will call user code when selected.
  289.  
  290. -----------------------------------------------------------------------------
  291.  
  292. The following files will have been generated :
  293.  
  294.    TESTPROG
  295.    TESTPROG.H
  296.    TESTPROG.C
  297.    TESTPROG.RC
  298.    TESTPROG.DEF
  299.  
  300. To Compile :
  301. > nmake testprog
  302.  
  303. To Run :
  304. > win testprog
  305.  
  306.