void GotoDlgCtrl( CWnd* pWndCtrl );
Parameters
pWndCtrl
Identifies the window (control) that is to receive the focus.
Remarks
Moves the focus to the specified control in the dialog box.
To get a pointer to the control (child window) to pass as pWndCtrl, call the CWnd::GetDlgItem member function, which returns a pointer to a CWnd object.
Example
See the example for CWnd::GetDlgItem.
CDialog Overview | Class Members | Hierarchy Chart
See Also CWnd::GetDlgItem, CDialog::PrevDlgCtrl, CDialog::NextDlgCtrl