ActiveX Controls Cursor Access

The following functions can be used to get the mouse cursor position in ActiveX controls:

getCursorPos

Returns a Point2 value in pixels giving the current mouse cursor position in the ActiveX control’s window coordinate space.

mapPoint

Returns a Point2 value in pixels where the input Point2 coordinate value is mapped from the ActiveX control’s window coordinate space to the control's dialog coordinate space.

See also

ActiveX Controls in MAXScript Rollouts