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