Sets focus to the control.
virtual CWnd* SetFocus( ); 
virtual CWnd* SetFocus( 
   LPMSG lpmsg 
);
Parameters
- lpmsg
A pointer to a MSG structure. This structure contains the Windows message triggering the SetFocus request for the control contained in the current control site. 
Return Value
A pointer to the window that previously had focus.
Requirements
Header: afxocc.h