PyCFrameWnd.GetActiveDocument

PyCDocument = GetActiveDocument()

Gets the currently active document, else None

MFC References

CFrameWnd::GetActiveDocument