|
-
Apr 21st, 2002, 06:08 PM
#1
Thread Starter
Frenzied Member
VC++ Dialog
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.
MicroBasic
Dragon Shadow Trainer
There is no good or evil in the world...only programmers and fools .
-
Apr 22nd, 2002, 07:45 PM
#2
Thread Starter
Frenzied Member
^BUMP^
Hello? This is a simple question, so someone should know the answer (other than me). Hello? Parksie?
MicroBasic
Dragon Shadow Trainer
There is no good or evil in the world...only programmers and fools .
-
Apr 23rd, 2002, 08:36 AM
#3
SetFocus(GetDlgItem(hDlg, ID));
Don't get nervous...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|