CWnd::SetCapture

Call this member function to cause all subsequent mouse (or stylus) input to be sent to the current CWnd object regardless of the position of the cursor.

Syntax

CWnd* SetCapture( );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetCapture