mouse move event
Hi
after I load the layers to a bitmap and move the mouse over the bitmap on the screen I get an on mouse move event all the time even if I do not move the mouse.
Before I load the layers to the bitmap I do not have this problem, I get the move event only if I move the mouse.
Does any body know what is the problem ?
Thanks Allot
Raz
after I load the layers to a bitmap and move the mouse over the bitmap on the screen I get an on mouse move event all the time even if I do not move the mouse.
Before I load the layers to the bitmap I do not have this problem, I get the move event only if I move the mouse.
Does any body know what is the problem ?
Thanks Allot
Raz
Comments
-
The Mouse Move event fires in response to the mouse moving over the display area. The reason why the event is not fired when there is no layer loaded is because there is an if-clause that first checks whether there is any layer loaded before updating the ground and screen coordinates. So the event is still being fired but no processing is done with the event in that case.
-
But I get a mouse move event all the time when the mouse is over the map but the mouse cursor is not moving
-
The mouse move events don't come from the SDK or have anything to do with the SDK, they come from your mouse driver.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
I found the problem thanks !
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website