MouseEnter Event

Applies to:  MouseEvents
See also:  MouseLeave event, Window object

Occurs when the mouse pointer is about to move into the visible region of a window.

Syntax:

Public Event MouseEnter(ByRef Window As Window)

The MouseEnter event syntax has these parts:

Part Description
object The name of a MouseEvents object.  NB:  object must be declared using WithEvents.
Window The window into which the mouse pointer is about to move.

Example:

Trapping mouse events

 

Home Copyright and Disclaimer