共用方式為


CWindow::SetCapture

Sends all subsequent mouse input to the window.

HWND SetCapture( ) throw();

Remarks

See SetCapture in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class