🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2703

Re: Drawing on a dialog

#2703
From: SASTPH
Date: Mon, 11 Jan 1993 21:44
5 lines
663 bytes
You almost had it.  Put a static (WHITEFRAME) text box the size of your
bitmap on the dialog box.  Subclass it.  When your the proc for the text
box gets a WM_PAINT msg, blit the bitmap onto the static box.  Voila!

Hope this helps!
Technical Details
Message-ID: <93011.164426SASTPH@vm.sas.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!gatech!concert!sas!mozart.unx.sas.com!vm.sas.com!sastph
References: <C0ovz8.18u@brunel.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!gatech!concert!sas!mozart.unx.sas.com!vm.sas.com!sastph
Organization: SAS Institute Inc.
Date: Mon, 11 Jan 1993 16:44:26 EST
From: <SASTPH@vm.sas.com>
Message-ID: <93011.164426SASTPH@vm.sas.com>
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Drawing on a dialog
References:  <C0ovz8.18u@brunel.ac.uk>
Lines: 5