MouseMove

Function Name c:<CONTROL-NAME>#OnMouseMove
Syntax   (defun c:<CONTROL-NAME>#OnMouseMove (Flags [as Bitflag] X [as Long] Y [as Long] /)
)
Return Type Ignored
Applies To Angle Slider, Block List, Block View, Check Box, Combo Box, DWG List, DWG Preview, Graphic Button, Grid, Hatch, Html, Image Combo Box, Label, List Box, List View, Option Button, Option List, Picture Box, Slide View, Spin Button, Slider, Text Box, Text Button, Tree

This event is triggered when the mouse moves over the control. The event handler for this event should return quickly, as the event is called many times while the mouse is moving. Flags describes the state of the [Shift] and [Ctrl] keys, and the mouse buttons. X and Y specify the control client coordinates where the event occurred.

Flags bit Value Meaning
0 1 Left mouse button pressed
1 2 Right mouse button pressed
2 4 [Shift] key pressed
3 8 [Ctrl] key pressed
4 16 Middle mouse button pressed