• Advertisement

Archived

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

Splitter window problem

This topic is 5413 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement

  • Advertisement