Set listview style LVS_SINGLESEL so only one drive can be selected.
This commit is contained in:
parent
ffebbae54f
commit
0ade757920
|
@ -99,8 +99,8 @@ STYLE WS_CHILD | WS_DISABLED
|
||||||
FONT 8, "MS Shell Dlg"
|
FONT 8, "MS Shell Dlg"
|
||||||
BEGIN
|
BEGIN
|
||||||
GROUPBOX " Drive mappings ",IDC_STATIC,8,4,244,240
|
GROUPBOX " Drive mappings ",IDC_STATIC,8,4,244,240
|
||||||
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,
|
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
|
||||||
15,18,232,76
|
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
|
||||||
PUSHBUTTON "&Add...",IDC_BUTTON_ADD,15,98,37,14
|
PUSHBUTTON "&Add...",IDC_BUTTON_ADD,15,98,37,14
|
||||||
PUSHBUTTON "&Remove",IDC_BUTTON_REMOVE,56,98,37,14
|
PUSHBUTTON "&Remove",IDC_BUTTON_REMOVE,56,98,37,14
|
||||||
PUSHBUTTON "Auto&detect...",IDC_BUTTON_AUTODETECT,197,98,49,14
|
PUSHBUTTON "Auto&detect...",IDC_BUTTON_AUTODETECT,197,98,49,14
|
||||||
|
|
Loading…
Reference in New Issue