Re: Displaying Text
- From: "David Ching" <dc@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 7 Jul 2007 09:50:46 -0700
"David Webber" <dave@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23wtmw%23KwHHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
[snip]
I am getting very vague on this now, but some time ago I was having
problems drawing the background of my CMainFrame in my MDI application.
All I wanted was a user-selectable colour :-)
Anyway I remember it as being much more complicated than just
CMainFrame::OnEraseBkgnd() and my source code for doing it now has a
somewhat enigmatic reference to knowledge-base article
http://support.microsoft.com/kb/129471/EN-US/
I'm not actually drawing anything on top of the background, but I am
drawing a gradient fill in the background and it all works very smoothly.
I seem to remember that all of the above was necessary to make it do so!
Thanks Dave, the flicker is in a SDI app, so I'm not sure it's the same
problem. I hope you like your gradient background, this sure is a lot of
work to get it! :-)
-- David
.
- Follow-Ups:
- Re: Displaying Text
- From: David Webber
- Re: Displaying Text
- References:
- Displaying Text
- From: katz911
- Re: Displaying Text
- From: David Ching
- Re: Displaying Text
- From: katz911
- Re: Displaying Text
- From: Scott McPhillips [MVP]
- Re: Displaying Text
- From: David Ching
- Re: Displaying Text
- From: David Webber
- Displaying Text
- Prev by Date: Re: WaitForSingleObject() will not deadlock
- Next by Date: Re: Application losing focus after OnFileSendMail()
- Previous by thread: Re: Displaying Text
- Next by thread: Re: Displaying Text
- Index(es):
Loading