_DMapEvents_MouseDownEvent does not handle middle mouse down

Nov 21, 2014 at 8:06 AM
Hi there,

Has anyone successfully implemented the Middle mouse pressed to pan?

I tried to use the Map mouse down event, however it does not handle middle mouse button at all.

thanks,
Yong
Nov 21, 2014 at 7:47 PM
Coordinator
Nov 23, 2014 at 11:59 AM
Which version of MapWinGIS are you using?
With v4.9 shortcuts are available. Spacebar will temporarily trigger the Pan-tool.
So you can catch the middle mouse press yourself and send the spacebar key.

Paul
Nov 23, 2014 at 10:07 PM
Thanks, I am using the version that come with mapwindow desktop, 4.8.8 I believe.
I have to support Windows XP which the new version stopped. Is there any chance to add this function to the 4.8.8 code base?

Regards
Yong
Coordinator
Nov 24, 2014 at 7:08 AM
Hi Yong,

Although we don't support WinXP anymore (because Microsoft doesn't support it anymore) it doesn't mean v4.9 doesn't work on WinXP.
So you can try the latest version and if you run into any problem we will try to fix it.

Thanks,
Paul