Share via


MouseEvent Object Members

Visio Automation Reference

The object passed to VisEventProc as the subject of MouseDown, MouseMove, and MouseUp events.

Properties

  Name Description
Aa342271.properties(en-us,office.12).gif Application Read-only. Returns the instance of Microsoft Office Visio that is associated with an object.
Aa342271.properties(en-us,office.12).gif Button Returns the mouse button that was clicked to fire a MouseDown or MouseUp event. Read-only.
Aa342271.properties(en-us,office.12).gif DragState Returns information about the state of mouse movement as it relates to dragging and dropping a shape. Read-only.
Aa342271.properties(en-us,office.12).gif KeyButtonState Returns the state of mouse buttons and the SHIFT and CTRL keys associated with a mouse event. Read-only.
Aa342271.properties(en-us,office.12).gif ObjectType Returns an object's type. Read-only.
Aa342271.properties(en-us,office.12).gif Stat Returns status information. Read-only.
Aa342271.properties(en-us,office.12).gif ToString Returns a string that represents the properties of a KeyboardEvent or MouseEvent object. Read-only.
Aa342271.properties(en-us,office.12).gif Window Returns the window associated with a MouseEvent object. Read-only.
Aa342271.properties(en-us,office.12).gif x Returns the x-coordinate of the location in the Microsoft Office Visio window where a MouseDown, MouseMove, or MouseUp event fired. Read-only.
Aa342271.properties(en-us,office.12).gif y Returns the y-coordinate of the location in the Microsoft Office Visio window where a MouseDown, MouseMove, or MouseUp event fired. Read-only.