Sets the focus to a particular control
BOOL SetFocus( CXlControl& ctl ); BOOL SetFocus( UINT id );
Reference to the control which will get the focus.
ID of the control which will get the focus.
This function can be called from event handlers in order to set the focus. It can also be called before Show() to set the initial focus.
The function returns TRUE if the call succeeded, and FALSE if the control could not be found.