Hi All,
I've been experiencing a problem where *sometimes*, the MapPoint control seems to not draw itself, or only perform a partial draw (say the Microsoft logo with no map.)
Has anyone else seen this and/or come up with graceful ways to detect and invalidate in this situation?
I created a bare-bones test application, which is a Visual Studio 6.0 C++ MFC dialog with the statically linked mfc dll. It includes the OnUIDeactivate fix from these forums ( Map Point ActiveX in MFC View (MDI application) ), opens a new US map, and that's it.
The test application exhibits the problem.
I've attached the whole test source, including exes, but not the intermediate source (for size reasons) if anyone is interested. *You'll need MapPoint North America installed before you run the application.* Also, I've included a sample image of a good startup window (includes map), and one of a bad startup window (no map.)
Cheers,
Dave