MapPoint embedded in a MFC VC++ dialog based app:
Here's the app. (Note: It has been developed with the European version in mind. The app defaults to loading the European map. )
Here's the source.
The file LEDOccManager.cpp contains a more tolerant version of the MFC Control Container Manager.
Inspect the following in raw_com1dlg.cpp:
// for modeless processing (or modal)
ASSERT(m_hWnd != NULL);
if (((CLEDOccManager*)afxOccManager)->IsDialogMessageHACK(this, pMsg))
// filter both messages to dialog and from children
I've put together a page of screen shots. This shows how the control is embedded within a dialog.
Other VC++ source here.
Back to the Mapping page