home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mswindo / programm / misc / 1438 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!think.com!spdcc!dirtydog.ima.isc.com!newsserver.pixel.kodak.com!dj
  3. From: dj@ssd.kodak.com (Dave Jones)
  4. Subject: Re: How to make a graphical startup window.
  5. Message-ID: <1992Aug21.192232.11147@pixel.kodak.com>
  6. Sender: news@pixel.kodak.com
  7. Organization: :noitazinagrO
  8. References: <hihunn.714284365@vex>
  9. Date: Fri, 21 Aug 92 19:22:32 GMT
  10. Lines: 24
  11.  
  12. In article <hihunn.714284365@vex> hihunn@vex.ugcs.caltech.edu (Heath I Hunnicutt) writes:
  13. >Hello,    
  14. >    Lots of apps these days display a graphical logo/copyright
  15. >message, etc., window when they start up.  Usually, the window is
  16. >frameless, and appears centered over the forming app window.  My
  17. >question is, what methods are there for creating such windows?
  18. >How are they filled with wall-to-wall bitmap?  
  19. >
  20. >Curious,
  21. >Heath
  22. >
  23. Actually it's very easy.  By default a window has no border, no title
  24. bar, no max/min buttons, no system menu, no application menu. Those are
  25. things you put in when you register a window class, or create a dialog
  26. definition in a resource file.  So to do the logo, all you do is leave
  27. out the details, and draw the logo bitmap in the Window in response to
  28. some event, like WM_PAINT.  A logo that comes up and stays up till your
  29. app finishes initializing is probably a modeless dialog.
  30.  
  31. -- 
  32. ||)) Dump the Whatizit!  Ren and Stimpy for Olympic mascots in '96 ! )))))))|
  33. ||)) "What is it, man?!?" ))))))))))))))))))))))))))))))))))))))))))))))))))|
  34. ||))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))|
  35. ||Dave Jones (dj@ekcolor.ssd.kodak.com) | Eastman Kodak Co. Rochester, NY   |
  36.