home *** CD-ROM | disk | FTP | other *** search
/ Windoware / WINDOWARE_1_6.iso / source / winbegin / readme.txt next >
Text File  |  1991-06-04  |  4KB  |  92 lines

  1.                 WinBegin
  2.  
  3.     WinBegin 3.0B is a development tool for creating very simple "C" 
  4. programs which run under Windows 3.0, using the Borland C++ 2.0 compiler.  
  5. WinBegin is meant to be used by the "C" programmer who wants to create his 
  6. or her first Windows program. The more experienced Window developer may 
  7. find it useful for making skeleton programs for new applications. I still 
  8. use it to start new programs.
  9.  
  10.     WinBegin actually generates "C" and Windows code for a small
  11. application. When the user chooses the "Make Program" menu option,
  12. WinBegin prompts for a program name, a directory name, a program 
  13. description, and the author's name. When all these items have been
  14. entered, WinBegin creates the source code for a Windows application.
  15. The files created include:
  16.  
  17. name.c
  18. name.h
  19. name.def
  20. name.rc
  21. name.ico
  22.  
  23. where "name" is the program name selected by the author. The "name.c"
  24. file contains the application's "C" source code.  "name.h" contains
  25. constant definitions.  "name.def" contains information needed by Windows
  26. at link time.  "name.ico" contains a dummy (blank) icon for the 
  27. application.  You can, and should, make a meaningful icon for your 
  28. application using the icon editor in "sdkpaint.exe". 
  29.  
  30.     After running WinBegin, you should run the Borland Integrated 
  31. Development Environment and make a project containing name.c, name.def, and 
  32. name.rc.  Borland's documentation will tell you how to compile this 
  33. project.  The nice thing about Borland C++ 2.0 is that you don't need the 
  34. Windows SDK to create a Windows app -- the necessary include files and 
  35. libraries are provided.
  36.  
  37.     What does WinBegin's executable file do?  It contains two menu items:
  38. File, and GetText.  File has two choices:  Exit, and About this 
  39. application. The About choice displays an About dialog box with the name of 
  40. the program and the author's name.  GetText displays a dialog box which 
  41. prompts for a line of text.  When the box is exited, the text is displayed 
  42. on the screen. Thus WinBegin creates source code for an application that 
  43. has menu-bar commands, and which uses two dialog boxes.  This is what I 
  44. consider to be the smallest non-trivial Windows program.  The generated
  45. files are meant to be modified!  Here are some things to try:
  46.  
  47. -  Add another menu item.  Adding, deleting, and changing the names of
  48.    menu items are just about the easiest things to do in Windows.
  49.  
  50. -  Add another dialog box.  Remember that the names of the dialog box
  51.    functions must be added to the EXPORTS section of the name.def file,
  52.    in order to prevent nasty things from happening.
  53.  
  54. -  Experiment with some of the more sophisticated dialog box controls,
  55.    such as list boxes and edit boxes.
  56.  
  57. -  Instead of printing text using TextOut, try out some of the drawing
  58.    functions, such as Rectangle and LineTo.
  59.  
  60. Files included in the archive are:
  61.  
  62. readme.txt
  63. winbegin.exe
  64. winbegin.dat
  65. winbegin.ico
  66. target.ico
  67.  
  68.  
  69.  
  70. Copyright 1987,1991 by Susan Crayne.  All Rights Reserved
  71. Written for uploading to Compuserve Forums by
  72.  
  73.     Susan Crayne
  74.     4 Charlotte Place
  75.     Hartsdale, New York 10530
  76.     
  77.     914-686-9822
  78.  
  79. WinBegin 3.0B is shareware.
  80.  
  81. If this program has been useful to you, please register!  You will 
  82. receive bug fixes and enhancements when they occur.  Your input about
  83. future enhancements will be highly valued.  To register, send $35 to 
  84. the above address.
  85.  
  86. This program may be distributed freely.  If it is distributed, this file
  87. (readme.txt) must be included.  The copyright holder offers no
  88. warranty with this code whatsoever, including its fitness for any 
  89. particular purpose.  Neither shall she be liable for damages of any kind 
  90. that may arise from its use.
  91.  
  92.