COleControl::OnInactiveMouseMove

virtual void OnInactiveMouseMove( LPCRECT lprcBounds, long x, long y, DWORD dwKeyState );

Parameters

lprcBounds

The object bounding rectangle, in client coordinates of the containing window. Tells the object its exact position and size on the screen when the WM_MOUSEMOVE message was received.

x

The x coordinate of the mouse location in client coordinates of the containing window.

y

The y coordinate of the mouse location in client coordinates of the containing window.

dwKeyState

Identifies the current state of the keyboard modifier keys on the keyboard. Valid values can be a combination of any of the flags MK_CONTROL, MK_SHIFT, MK_ALT, MK_BUTTON, MK_LBUTTON, MK_MBUTTON, and MK_RBUTTON.

Remarks

Called by the container for the inactive object under the mouse pointer on receipt of a WM_MOUSEMOVE message. Note that window client coordinates (pixels) are used to pass the mouse cursor position. This is made possible by also passing the bounding rectangle of the object in the same coordinate system.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::GetActivationPolicy, COleControl::OnInactiveSetCursor