How to check whether a child frame is opened or not from CMainFrame class I want to display a message while closing the main frame if any child frame is opened. I used "GetActiveView()->GetDocument()" but it throws an assertion failure error.
How to check whether a child frame is opened or not from CMainFrame class I want to display a message while closing the main frame if any child frame is opened. I used "GetActiveView()->GetDocument()" but it throws an assertion failure error.