Article View: comp.os.ms-windows.programmer.misc
Article #2699Re: Drawing on a dialog
From: Stephen Oakes
Date: Mon, 11 Jan 1993 21:22
Date: Mon, 11 Jan 1993 21:22
15 lines
1204 bytes
1204 bytes
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 | |_____________________________________________________________________________|
Technical Details
Message-ID:
<606@highett.mel.dbce.csiro.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!highett!steveoReferences:
<C0ovz8.18u@brunel.ac.uk> <1993Jan11.163612.6273@pixel.kodak.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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