Re: Updating the screen
- From: "GT" <ContactGT_remove_@xxxxxxxxxxx>
- Date: Wed, 1 Nov 2006 10:48:07 -0000
"GT" <ContactGT@xxxxxxxxxxx> wrote in message
news:45477141$0$4942$9a6e19ea@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
"Tom Serface" <tserface@xxxxxxx> wrote in message
news:eM2nNfI$GHA.1224@xxxxxxxxxxxxxxxxxxxxxxx
Is something like this what you're looking for?
http://www.codeproject.com/docking/bitmaptoolbar.asp
Tom
Thanks Tom, but that's not really what I have - I am trying to get a
dialog window to update the screen when resized. The dialog has no
controls, but I manually draw the content (a graph). I capture the OnPaint
event and redraw everything, but the screen never actually changes until I
move another window over the top and away again. Its like the window isn't
being refreshed. If I step into the code, the OnPaint event is firing and
my code is running and getting the correct new window sizes, but the
screen doesn't show the new OnPaint work!
Solved the problem (via a discussion board). I needed to add
Invalidate(false); into my OnSize method!
.
- References:
- Re: Updating the screen
- From: GT
- Re: Updating the screen
- Prev by Date: Re: Only friend classes can access function pointer declared in CWinApp?
- Next by Date: Re: PostMessage() - Sending order == Handling order
- Previous by thread: Re: Updating the screen
- Next by thread: Re: CHtmlCtrl and IE 7.0
- Index(es):
Relevant Pages
|