Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the COleControl object has the focus.
CWnd* GetFocus( );
Return Value
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).
Remarks
An activated windowless control receives the focus when SetFocus is called.
Requirements
Header: afxctl.h