CWnd::SetCapture
CWnd*SetCapture();
Return Value
A pointer to the window object that previously received all mouse input. It is NULL if there is no such window. The returned pointer may be temporary and should not be stored for later use.
Remarks
Causes all subsequent mouse input to be sent to the current CWnd object regardless of the position of the cursor.
When CWnd no longer requires all mouse input, the application should call the function so that other windows can receive mouse input.
CWnd Overview | Class Members | Hierarchy Chart
See Also , , CWnd::GetCapture