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?
Re: Repaint on CDockablePane Resizing
Not sure it would help, but try to call RecalcLayout
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.
Re: Repaint on CDockablePane Resizing
Quote:
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.