I have one code in win32 include one dialog form that ask for "UserName" & "Password".
I using this code for create Form:
HWND hDlg = CreateDialogParamA(g_hInstance, MAKEINTRESOURCE(IDD_DIALOG1 ), hWnd, DialogFunc, 0);
Each time user want login must write Username & password.
I want know possible change code to save login UserName in "UserName" field and no need user add that every time?
Just save the data somewhere when the user presses OK and restore it next time you show the dialog. You could use the registry, a database or local file for saving permanently.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)