void GotoDlgCtrl( CWnd* pWndCtrl );
pWndCtrl
Identifies the window (control) that is to receive the focus.
Moves the focus to the specified control in the dialog.
To get a pointer to the control (child window) to pass as pWndCtrl, call the GetDlgItem member function, which returns the pointer as a pointer to a CWnd object. This pointer can then be cast to its specific type. GetDlgItem is inherited from class CWnd.
CWnd::GetDlgItem, CDialog::PrevDlgCtrl, CDialog::NextDlgCtrl