Changeset 22239 in vbox for trunk/src/VBox/Additions/WINNT/VBoxGINA/Dialog.cpp
- Timestamp:
- Aug 13, 2009 2:41:49 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51047
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxGINA/Dialog.cpp
r9680 r22239 118 118 static UINT_PTR timer = 0; 119 119 120 Log(("VBoxGINA::MyWlxLoggedOutSASDlgProc\n"));120 /*Log(("VBoxGINA::MyWlxLoggedOutSASDlgProc\n"));*/ 121 121 122 122 // … … 161 161 SendMessage(hwndPassword, WM_SETTEXT, 0, (LPARAM)g_Password); 162 162 if (hwndDomain) 163 SendMessage(hwndDomain, WM_SETTEXT, 0, (LPARAM)g_Domain); 163 { 164 /* search the domain combo box for our required domain and select it */ 165 Log(("VBoxGINA::MyWlxLoggedOutSASDlgProc: Find domain entry ...\n")); 166 DWORD dwIndex = (DWORD) SendMessage(hwndDomain, CB_FINDSTRING, 167 0, (LPARAM)g_Domain); 168 if (dwIndex != CB_ERR) 169 { 170 Log(("VBoxGINA::MyWlxLoggedOutSASDlgProc: Found domain at pos %ld\n", dwIndex)); 171 SendMessage(hwndDomain, CB_SETCURSEL, (WPARAM) dwIndex, 0); 172 EnableWindow(hwndDomain, FALSE); 173 } 174 else Log(("VBoxGINA::MyWlxLoggedOutSASDlgProc: Domain entry not found!")); 175 } 164 176 165 177 /* we got the credentials, null them out */
Note:
See TracChangeset
for help on using the changeset viewer.