home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc,comp.os-.ms-windows.programmer.tools
- Path: sparky!uunet!decwrl!access.usask.ca!regina!hercules.cs.uregina.ca!plummer
- From: plummer@hercules.cs.uregina.ca (Dave Plummer)
- Subject: HELP! Drawing in a Dialog Box...
- Message-ID: <1992Aug28.011020.5381@regina.cs.uregina.ca>
- Originator: plummer@hercules.cs.uregina.ca
- Sender: news@regina.cs.uregina.ca
- Reply-To: plummer@hercules.cs.uregina.ca (Dave Plummer)
- Organization: University of Regina, Regina, Saskatchewan
- Date: Fri, 28 Aug 1992 01:10:20 GMT
- Lines: 19
-
- Here's the situation: Using ObjectWindows under TCC+/Win, I have a main
- windows derived from TDialog. I have a bitmap that I need to refresh
- when it the window gets repainted, but it is on top of a Borland shadow
- box custom control. I've tried hooking into a couple of control color
- messages, but no matter what I try, it always seems that the dialog itself
- gets refreshed overtop of whatever I draw, although I can see it being
- redrawn first. How do I do the final rendering of my window after windows
- (or bwcc.dll) is done drawing all of the button and backgrounds? If you've
- been through this (or just happen to know the answer), please email me!
-
- Secondly, one of the original problems I was having was that the HWindow
- field of my derived class is not valid in my constructor. I got around it
- by setting a global variable in my InitMainWindow(), but this is obviously
- not the best practice. What and where is the soonest I can get my HWindow
- for the dialog/window I have created?
-
- Thanks,
- Dave "Paitiently waiting for Petzold Ed 3" Plummer
-
-