Link to home
Start Free TrialLog in
Avatar of b_yousif
b_yousif

asked on

set the focus to CEdit box when initialize a dialog

i have a dialog where the user should enter data, i need to set the foucus to this edit box, i tried to use m_edit.SetFocus() function while initialization in OnInitDialog()function but have no luck ,,, what else or what is the right way to do it.
 
ASKER CERTIFIED SOLUTION
Avatar of mblat
mblat

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial