Ruler Object Library: 4.2 Managing Rulers: Mouse Tracking

Up: GEOS SDK TechDocs | Up | Prev: 4.1 RulerShowControl | Next: 4.3 Grid Spacing and Constraint

The ruler has the ability to show a tick mark which tracks the mouse's movement. This can be a boon to users who wish to know the mouse's precise location.

MSG_VIS_RULER_SHOW_MOUSE

void MSG_VIS_RULER_SHOW_MOUSE();

Sets a flag such that the ruler will draw the mouse tick on pointer events.

MSG_VIS_RULER_HIDE_MOUSE

void MSG_VIS_RULER_HIDE_MOUSE();

Sets a flag such that the ruler won't draw the mouse tick on pointer events.

MSG_VIS_RULER_DRAW_MOUSE_TICK

void MSG_VIS_RULER_DRAW_MOUSE_TICK( @stack
        sdword 		yInt, 
        word 		yFrac, 
        sdword 		xInt, 
        word 		xFrac);

This message indicates that the ruler should draw a line indicating the mouse position and informs the ruler of the mouse's new position.


Up: GEOS SDK TechDocs | Up | Prev: 4.1 RulerShowControl | Next: 4.3 Grid Spacing and Constraint