TrackMouseEvent


static void TrackMouseEvent(MouseTrack^ EventTrack)

This function posts a message when the mouse leaves the window or hovers for a specified time period.

Parameters

MouseTrack^ EventTrack

A pointer to a structure to hold information regarding tracking of mouse events.

Notes

The following messages may be generated.

Message::MouseLeave The mouse left the client area of the window. Mouse tracking is automatically cancelled. If further tracking is required, this function must be called again (upon the mouse returning to the window).
Message::MouseHover The mouse hovered over the client area for the given amount of time. If further notifications are required, this function must be called again.

The mouse is considered to be hovering when:

Details

Name Space IPlusPlus::Windows
Class Win
Assembly IPlusPlus.WinPlus.dll