Partager via


COleControl::ReleaseCapture

Releases mouse capture.

BOOL ReleaseCapture( );

Return Value

Nonzero if successful; otherwise 0.

Remarks

If the control currently has the mouse capture, the capture is released. Otherwise, this function has no effect.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::SetCapture

COleControl::GetCapture