COleControl::SetCapture

CWnd* SetCapture( );

Return Value

A pointer to the CWnd window object that previously received mouse input.

Remarks

If the control is activated and windowless, this function causes the control’s container window to take possession of the mouse capture, on the control’s behalf.

Otherwise, this function causes the control itself to take possession of the mouse capture (same as CWnd::SetCapture).

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::GetCapture, COleControl::ReleaseCapture