4.9.3 bug(2)

Nov 13, 2014 at 10:59 AM
onMouseWheel event not response.
the reason maybe that CmapView has lost focus.

Solved method is below:

void CMapView::OnLButtonDown(UINT nFlags, CPoint point)
{
...
SetFocus();
}
Coordinator
Nov 23, 2014 at 11:26 AM
Thanks for catching this.
We'll investigate your patch.

Thanks,

Paul
Developer
Nov 23, 2014 at 12:59 PM
Well, it's indeed the case. If AxMap looses focus zooming with mouse wheel won't work. However clicking on the map sets focus to it. I've just tried, I get WM_SET_FOCUS message before WM_LBUTTONDOWN. So it seems like one more call will be redundant. Doesn't it work this way for you?
Thanks,
Sergei
Nov 23, 2014 at 9:58 PM
I haved used it in VB 6.0, VC6.0. it seems does not work.