-
July 13th, 2013, 04:40 PM
#1
Repaint on CDockablePane Resizing
I have a tabbed CDockablePane with 3 Panes in total lets say Pane1 is main pain and Pane2 and Pane3 are added to the Main pain with AttachToTabWnd. In each pain I have 1 control but I will also eventually add a toolbar as well. I have created a CListCtrl with each pane. I call Override OnSize to resize the ListCtrl when the pane resizes. Problem is when I resize the width (enlarge) it does not update. If I drag the right border 1 pixel to the left it does update correctly. I have tried invalidating the pane after resize but still does not update as it should. What can I do to remedy this?
-
July 14th, 2013, 02:22 AM
#2
Re: Repaint on CDockablePane Resizing
Not sure it would help, but try to call RecalcLayout
Victor Nijegorodov
-
July 14th, 2013, 10:10 AM
#3
Re: Repaint on CDockablePane Resizing
No RecalcLayout still does not repaint the window or controls as it should on enlarge. I have read other posts on MSDN and elsewhere with similar problem but no solution was ever found.
-
July 14th, 2013, 04:37 PM
#4
Re: Repaint on CDockablePane Resizing
Originally Posted by RobNHood
What can I do to remedy this?
You can create a simple project that replicates your issue, and upload it here. The remedy will come with quite a high probability.
Best regards,
Igor
Tags for this Thread
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
|