Hmm...let's say you have a dialog with a control in it. The control's ID is IDC_NP and you want to give IDC_NP the focus. How would you do that?
Also, I'm using the regular API Visual C++, not MFC or OWL.
Printable View
Hmm...let's say you have a dialog with a control in it. The control's ID is IDC_NP and you want to give IDC_NP the focus. How would you do that?
Also, I'm using the regular API Visual C++, not MFC or OWL.
^BUMP^
Hello? This is a simple question, so someone should know the answer (other than me). Hello? Parksie?
SetFocus(GetDlgItem(hDlg, ID));
Don't get nervous...