Setting focus to a control
-
In a dialog, i have some buttons and a CEdit control. How would I set the focus to the edit control? tanx
-
okay, whoops, i should have said that i have a CString mapped to the control. I suppose I have to map a CEdit as well to be able to focus it...
What does it mean 'to have a CString mapped to the control' ??? If you'll be more specific maybe I'll help you Honza
-
okay, whoops, i should have said that i have a CString mapped to the control. I suppose I have to map a CEdit as well to be able to focus it...
-
What does it mean 'to have a CString mapped to the control' ??? If you'll be more specific maybe I'll help you Honza
i meant that in Class Wizard member variables i put a CString onto the edit box. I put a CEdit onto the edit box as well, so i can use SetFocus like that. I was just wondering if you could do it without having to have a CEdit just for that. if u get what i mean :).
-
i meant that in Class Wizard member variables i put a CString onto the edit box. I put a CEdit onto the edit box as well, so i can use SetFocus like that. I was just wondering if you could do it without having to have a CEdit just for that. if u get what i mean :).
-
In a dialog, i have some buttons and a CEdit control. How would I set the focus to the edit control? tanx