// SDI document implementation file CMyDoc * CMyDoc::GetDoc() { CFrameWnd * pFrame = (CFrameWnd *)(AfxGetApp()->m_pMainWnd); return (CMyDoc *) pFrame->GetActiveDocument(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)