COleControl::GetFocus
Determines whether the COleControl object has the focus.
CWnd* GetFocus( );
Возвращаемое значение
If the control is activated and windowless, returns this if the control currently has the keyboard focus (as determined by the control's container), or NULL if it does not have the focus.
Otherwise, returns the CWnd object that has the focus (same as CWnd::GetFocus).
Заметки
An activated windowless control receives the focus when SetFocus is called.
Требования
Header: afxctl.h