This topic is now archived and is closed to further replies.


Splitter window problem

Recommended Posts

BIOSME    122
I''m working on a MFC based graphics tool. It''s an SDI with a dynamic splitter. I wanted the panes to be updated as the splitter bar is moved to resize the views. However, only the first pane (0, 0) seems to be working properly. The splitter bar paints itself faster in the other quarters. I tired to change the order of redrawing such that the first pane is updated last, but nothing is change. The splitter bar behaves normally in pane 0, and update in other views is too much slower than the first. I use code like: void CMySplitter::OnInvertTracker(RECT &rect) { CSplitterWnd::OnInverTracker(rect); GetParentFrame()->GetDocument()->UpdateAllViews(); } What''s wrong with MFC?????? Thanks.

Share this post

Link to post
Share on other sites