Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: How to catch BeforeDrawingMap and AfterDrawingMap Message?

$
0
0
Hi, friends, I tried to draw a legend and title on Map control using Visual C++ GDI , and want to catch the BeforeDrawingMap and AfterDrawingMap Message, but it did not work!
PS: MapWinGIS version is 4.9.3.5, I set the Map CustomDrawingFlag as BeforeAfterDrawing. My test code is very simple:
void CTestMWView::AfterDrawingMap3(long hDC, long xMin, long xMax, long yMin, long yMax, long* Handled)
{
        //Test AfterDrawingMap3
    AfxMessageBox("Hello, AfterDrawingMap Message");
}
Many thanks!

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>