C++
CMDIFrameWnd* acedGetAcadFrame();
File
rxmfcapi.h
Description
This function is used to get the pointer to AutoCAD's main frame window.
For building ObjectARX applications with a static MFC library, or when not using the same shared MFC DLL as AutoCAD, a pointer to a window cannot be used. Instead, use the window handle. To get the window handle, use acedGetAcadFrame()->m_hWnd;