共用方式為


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

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::SetCapture

COleControl::GetCapture