mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
Select the first user and system environment variable upon initialization.
svn path=/trunk/; revision=30095
This commit is contained in:
parent
782962b8cf
commit
6405278e8c
1 changed files with 9 additions and 6 deletions
|
@ -313,11 +313,12 @@ OnInitDialog(HWND hwndDlg)
|
|||
|
||||
(void)ListView_SetColumnWidth(hwndListView, 2, LVSCW_AUTOSIZE_USEHEADER);
|
||||
|
||||
ListView_SetItemState(hwndListView,0,LVIS_FOCUSED,LVIS_FOCUSED);
|
||||
ListView_SetItemState(hwndListView, 0,
|
||||
LVIS_FOCUSED | LVIS_SELECTED,
|
||||
LVIS_FOCUSED | LVIS_SELECTED);
|
||||
|
||||
(void)ListView_Update(hwndListView,0);
|
||||
|
||||
|
||||
/* Set system environment variables */
|
||||
hwndListView = GetDlgItem(hwndDlg, IDC_SYSTEM_VARIABLE_LIST);
|
||||
|
||||
|
@ -331,7 +332,9 @@ OnInitDialog(HWND hwndDlg)
|
|||
|
||||
(void)ListView_SetColumnWidth(hwndListView, 2, LVSCW_AUTOSIZE_USEHEADER);
|
||||
|
||||
ListView_SetItemState(hwndListView,0,LVIS_FOCUSED,LVIS_FOCUSED);
|
||||
ListView_SetItemState(hwndListView, 0,
|
||||
LVIS_FOCUSED | LVIS_SELECTED,
|
||||
LVIS_FOCUSED | LVIS_SELECTED);
|
||||
|
||||
(void)ListView_Update(hwndListView, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue