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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why my CViews lose their drawings when moving upward?

Status
Not open for further replies.

rbarella

Technical User
Dec 26, 2002
11
IT
My CViews are created with the style WS_CHILD | WS_VISIBLE |WS_CLIPSIBLINGS |WS_TABSTOP.

When the whole MDI is dragged up, toward the top of the screen, they lose some of their drawing (forms and lines), but NOT the writing.

I have somehow fixed up this problem setting a timer every 60 milliseconds, which invalidates the window if its top is lower than before.

Could anybody suggest a less clumsy solution?

Thanks.
 
it is because messaeg WM_PAINT is a message with low priority.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top