i have problem in display a login dialogbox…
that have 2 textbox,1 combobox like username,password,domain…
1.i have setfocus in username ,that cant set
SetFocus(GetDlgItem(_hwnd, IDC_NAME));
but,it cant set when system logontime,the cursor symbol is focus that textbox,but values not get,ather i click that textbox,then only focus that textbox…
but after login other dialogbox textboxs are focused using this type of code,like
SetFocus(GetDlgItem(hchged, IDC_PWD));
2.In combobox the systemname and domain name there…every login time
system name only showed…how to change that into domain name…
note:i am using c++ win32 API dialogbox…
Your question is incredibly difficult to understand. Based off the title, it sounds like you want to do this: