TrackMouse Method |
||||||
Applies to: Subclasser
object, PowerForm
control, Panel Control Sets mouse input capture. Syntax: object.TrackMouse The TrackMouse syntax has these parts:
Remarks: Call TrackMouse in response to a MouseEnter event, in order to enable the MouseHover event. 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. To continue to receive mouse events after the mouse pointer has
left the window, cancel the MouseLeave
event.
|