![]() |
Dockingpanes rpaint problem in Autohide |
Post Reply
|
| Author | |
stanimir
Newbie
Joined: 17 September 2004 Location: Bulgaria Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: Dockingpanes rpaint problem in AutohidePosted: 17 September 2004 at 1:58am |
|
Hello guys. When I have some kind of painting which regularly change in a MDI window (like simple colorful rectangles) and a docking pane attached to this window in auto hide mode I get the following results:
At the moment when the pane expands (shows) by pressing the tab button the colored rectangles are drawn straight trough the pane and scrabbles it. The pane is not redrawn until it doesn't hide. Attached modified one of the original samples 2004-09-17_015404_MDIPanes.zip Please help me to fix this problem? |
|
![]() |
|
xred
Groupie
Joined: 24 August 2004 Location: China Status: Offline Points: 28 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 September 2004 at 11:13pm |
|
void CMDIPanesView::OnTimer(UINT nIDEvent) Edited by xred |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 September 2004 at 3:40am |
|
Add clip styles to your view: BOOL CMDIPanesView::PreCreateWindow(CREATESTRUCT& cs) return CView::PreCreateWindow(cs); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
stanimir
Newbie
Joined: 17 September 2004 Location: Bulgaria Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 September 2004 at 7:05am |
|
Thanks a lot for your help. It works ok now. I actually saw the same recommendation in another post and tried it but without success because i did not put the code on the right place.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |