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

Created Unassigned: Double click event notification [25222]

$
0
0
Hi,

I need to catch double click on the map in the dialog containing MW activex but at the moment it's not working. I did the usual "ON_EVENT(map, IDC_MAP1, DISPID_DBLCLICK, DblClickMap1, VTS_NONE)" between BEGIN_EVENTSINK_MAP and END_EVENTSINK_MAP like for every other events but I didn't get any notification.
To get proper notification in my dialog, i had to add a call to "FireDblClick" at the end of void "CMapView::OnLButtonDblClk(UINT nFlags, CPoint point)" in MW.
It looks like it's the correct way to this according to this [link](http://msdn.microsoft.com/en-us/library/0ax3dex6.aspx) since a custom handler is defined in MW.
Let me know what you think, i attached a patch for the correction.

Regards,

Vincent

Viewing all articles
Browse latest Browse all 2341

Trending Articles



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