home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / WA / WA409.ZIP / README.TXT < prev   
Text File  |  1991-02-28  |  3KB  |  52 lines

  1.                 ISLANDS 
  2.  
  3.      Some of this program was originally written for DOS by someone named
  4. Aaron Contour (I doubt that was his real name, but that is what he gave in
  5. his readme file).  Due to the nature of the drawing, I selected to have an
  6. unsizeable window style (WS_OVERLAPPED).  This is due to the distortions that
  7. are caused if the image is not draw in a large enough space.  The window size 
  8. displayed is 350X350 (in pixels) which seems to give a decent and large 
  9. enough picture for the 640X480, 800X600 and higher graphics displays. 
  10.  
  11.      Though the program is self-explanatory there are a couple of items the
  12. user needs to know. 
  13.  
  14. 1.  BE SURE THAT THE ENTIRE WINDOW IS VIEWABLE WHEN EXECUTING THE DRAW COMMAND.
  15.  -- To increase the speed of the routine, I do not write the image to a bitmap
  16. until it has completed the entire drawing.  Therefore if you have half of the
  17. window off the screen while you draw, you will not retrieve the entire image
  18. whenever you restore the window. Also programs such as Winclock, that can bring
  19. itself to the front of the active window, need to be out of the active display
  20. or its image will be drawn into the bitmap. 
  21.  
  22. 2.  KEEP NUMBER OF RUNNING COPIES TO A MINIMUM --  I felt that it was 
  23. important to have the image return whenever the user re-activates the window 
  24. or restores the program from an icon.  To do this, I draw the image into a 
  25. bitmap, which of course uses some memory.  When I run the program on my 
  26. IBM Model 30 (1 MB) I can have two copies of the program (instances) 
  27. running -- retaining the image at all times.  The third (or anything greater)
  28. will draw, but due to insufficient memory it will not return the image
  29. (processing the WM_PAINT message) when I bring it back in front or restore it
  30. from an icon  So if your just concerned about just drawing the image, have a
  31. blast. If you what to save images for comparison then you are only limited by
  32. your computer's memory. 
  33.  
  34.      This is my first Windows program (other than "Hello Windows") so please 
  35. write and tell me if you enjoy this program.  I will accept all comments or 
  36. opinions good or bad and if anybody wishes to have a copy of the source code I 
  37. will upload it also. 
  38.  
  39.  
  40. Thanks to Fran Finnegan for pointing me in the right direction for saving the 
  41. images 
  42.  
  43. P.S. Version 2.0 will give the user the option to change colors.  Its release
  44. is dependent on the time it takes me to figure out dialog boxes 
  45.  
  46. David Gillespie 
  47. CompuServe  72657,2642 
  48.  
  49.  
  50.  
  51.  
  52.