|
-
October 14th, 1999, 01:25 PM
#1
Invalidate question
Sometimes only a small rectangle is invalidated,
and only this part is redrawn. I want invalidate
always the whole window. How can I inforce this
at the beginning of OnDraw(CDC *pDC) ?!?
Any help is appreciated!
Herb,
Cheers.
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
[email protected]
http://stud2.tuwien.ac.at/~e8827684/home.html
-
October 14th, 1999, 01:31 PM
#2
Re: Invalidate question
Hi
you should not do any invalidation in OnDraw() because Invalidation will again call OnDraw() so program
will be in infinite loop.
Best way to do is in any other operation like mouse messages or menu operations.
Call Invalidate(NULL) this would invalidate whole client area.
Praveen
-
October 14th, 1999, 01:31 PM
#3
Re: Invalidate question
Hi
you should not do any invalidation in OnDraw() because Invalidation will again call OnDraw() so program
will be in infinite loop.
Best way to do is in any other operation like mouse messages or menu operations.
Call Invalidate(NULL) this would invalidate whole client area.
Praveen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|