Quantcast
Viewing all articles
Browse latest Browse all 2341

Closed Unassigned: Double click event notification [25222]

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
Comments: A suggest patch is applied: http://mapwingis.codeplex.com/SourceControl/changeset/75301 Event is now firing.

Viewing all articles
Browse latest Browse all 2341

Trending Articles