COleControl::SetCapture
Causes the control's container window to take possession of the mouse capture on the control's behalf.
CWnd* SetCapture( );
Возвращаемое значение
A pointer to the CWnd window object that previously received mouse input.
Заметки
If the control is activated and windowless, this function causes the control's container window to take possession of the mouse capture, on the control's behalf. Otherwise, this function causes the control itself to take possession of the mouse capture (same as CWnd::SetCapture).
Требования
Header: afxctl.h