ReleaseMouse Method

Applies to:  Subclasser object, PowerForm control, Panel Control
See also:  TrackMouse, MouseEnter Event, MouseLeave Event - Subclasser and PowerForm, Method and Function Index

Releases mouse input capture.

Syntax:

object.ReleaseMouse

The ReleaseMouse syntax has these parts:

Part Description
object The name of an object in the Applies to list.  If object is a SubClasser object, then the object must be declared using WithEvents.

Remarks:

The Subclasser object and PowerForm control automatically release mouse input capture when the mouse pointer leaves the subclassed window, so if TrackMouse is called in response to a MouseEnter event, there is no need to explicity call ReleaseMouse.


Home

Copyright and Disclaimer