home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4847 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.2 KB

  1. Path: sparky!uunet!munnari.oz.au!mel.dit.csiro.au!highett!steveo
  2. From: steveo@mel.dbce.csiro.au (Stephen Oakes)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: Drawing on a dialog
  5. Message-ID: <606@highett.mel.dbce.csiro.au>
  6. Date: 11 Jan 93 21:22:33 GMT
  7. References: <C0ovz8.18u@brunel.ac.uk> <1993Jan11.163612.6273@pixel.kodak.com>
  8. Organization: CSIRO, Div. Building Constr. and Eng'ing, Melb., Australia
  9. Lines: 15
  10.  
  11. What you need to do is trap the WM_PAINT message for the dialog box, then
  12. allow Windows to paint all the other controls, then paint your bitmap on
  13. your special control.  There is an example of this in Petzold, but I don't 
  14. have it here, so I can't look it up.
  15.  
  16. Look in the index under "dialog boxes, painting" or something.  If you don't
  17. have it, I can look up some code for you.
  18.  
  19. (You certainly don't need any TIMER messages!)
  20.  
  21. --
  22. | Stephen Oakes      CSIRO Division of Building, Construction and Engineering |
  23. |                    Post Office Box 56, Highett, Victoria, Australia   3190  |
  24. | Internet: steveo@mel.dbce.csiro.au  Tel: +61 3 252 6000 Fax: +61 3 252 6249 |
  25. |_____________________________________________________________________________|
  26.