Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redrawing view while resizing HELP!

Status
Not open for further replies.

classT

Programmer
Oct 6, 2002
19
0
0
US
Hi all,

I have a multi-doc program, each doc having one main CScrollView view to display doc contents. Everything is working perfectly except for one silly little thing...

When I am resizing a document the document contents flicker - almost like the background is being erased - as I drag the corner of the doc window.

Does anybody know why this is happening and what I can do to prevent the background erasure??

Thanks
 
Use class wizard to provide a function for WM_ERASEBKGND messages in your view. Override the function and you can prevent background erasures.

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top