abstract:
m_Tab.SetRedraw(TRUE);
m_Tab.Invalidate();
m_Tab.UpdateWindow();
That's what I'm working with at the moment, but I still see the tabs being cycled through. Does anyone have any ideas?
I have a document editor where each document is in a tab. During the save code, each tab is selected and various things happen to it. I want to shut off screen updates for the tab control so the user doesnt see each tab being selected.
My problem is that CWnd::SetRedraw isn't shutting off updates to the controls.
Code:- m_Tab.SetRedraw(FALSE);
- // loop through each tab and do stuff
- m_Tab.SetRedraw(TRUE);
- m_Tab.Invalidate();
- m_Tab.UpdateWindow();
Copy Code That's what I'm working with at the moment, but I still see the tabs being cycled through. Does anyone have any ideas? |