MFC: Hiding a frame/view in MDI application
Posted on 2007-07-26
I'm trying to code a feature that enables the user to hide a visible document.
I have the following code:
POSITION pos = GetFirstViewPosition();
while (pos != NULL)
CView* pView = GetNextView(pos);
CFrameWnd *pFrame = pView->GetParentFrame();
if (pFrame != NULL)
The code that is commented out are some of my unsuccessful attempts.
Thank you in advance.