Skip to content

Commit 704a21d

Browse files
committed
Windows: Fix tab navigation in various dialogs
1 parent 4774bde commit 704a21d

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

src/Mount/Mount.rc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ BEGIN
7777
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,196,316,10
7878
CONTROL "Make disconnected network drives available for mounting",IDC_SHOW_DISCONNECTED_NETWORK_DRIVES,
7979
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,208,316,10
80+
CONTROL "Don't show wait message dialog when performing operations",IDC_HIDE_WAITING_DIALOG,
81+
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,220,316,10
82+
CONTROL "Use Secure Desktop for password entry",IDC_SECURE_DESKTOP_PASSWORD_ENTRY,
83+
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,232,316,10
84+
CONTROL "Use legacy maximum password length (64 characters)",IDC_USE_LEGACY_MAX_PASSWORD_LENGTH,
85+
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,244,316,10
8086
CONTROL "Cache passwords in driver memory",IDC_PREF_CACHE_PASSWORDS,
8187
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,271,146,11
8288
CONTROL "Wipe cached passwords on exit",IDC_PREF_WIPE_CACHE_ON_EXIT,
@@ -90,20 +96,14 @@ BEGIN
9096
PUSHBUTTON "More Settings...",IDC_MORE_SETTINGS,5,331,85,14
9197
DEFPUSHBUTTON "OK",IDOK,225,331,50,14
9298
PUSHBUTTON "Cancel",IDCANCEL,281,331,50,14
93-
GROUPBOX "Windows",IDT_WINDOWS_RELATED_SETTING,4,160,328,97
9499
GROUPBOX "Default Mount Options",IDT_DEFAULT_MOUNT_OPTIONS,4,3,328,26
95100
GROUPBOX "VeraCrypt Background Task",IDT_TASKBAR_ICON,4,33,328,26
101+
GROUPBOX "Actions to perform upon logon to Windows",IDT_LOGON,4,63,328,28
96102
GROUPBOX "Auto-Unmount",IDT_AUTO_UNMOUNT,4,94,328,62
97-
LTEXT "minutes",IDT_MINUTES,289,129,39,10
98103
LTEXT "Unmount all when:",IDT_AUTO_UNMOUNT_ON,9,104,71,20
104+
LTEXT "minutes",IDT_MINUTES,289,129,39,10
105+
GROUPBOX "Windows",IDT_WINDOWS_RELATED_SETTING,4,160,328,97
99106
GROUPBOX "Password Cache",IDT_PW_CACHE_OPTIONS,4,260,328,68
100-
GROUPBOX "Actions to perform upon logon to Windows",IDT_LOGON,4,63,328,28
101-
CONTROL "Don't show wait message dialog when performing operations",IDC_HIDE_WAITING_DIALOG,
102-
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,220,316,10
103-
CONTROL "Use Secure Desktop for password entry",IDC_SECURE_DESKTOP_PASSWORD_ENTRY,
104-
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,232,316,10
105-
CONTROL "Use legacy maximum password length (64 characters)",IDC_USE_LEGACY_MAX_PASSWORD_LENGTH,
106-
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,244,316,10
107107
END
108108

109109
IDD_VOLUME_PROPERTIES DIALOGEX 60, 30, 284, 224
@@ -348,6 +348,8 @@ BEGIN
348348
CONTROL "Disable memory protection for Accessibility tools compatibility",IDC_DISABLE_MEMORY_PROTECTION,
349349
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,284,339,10
350350
PUSHBUTTON "?",IDC_DISABLE_MEMORY_PROTECTION_HELP,364,280,7,14
351+
CONTROL "Disable protection against screenshots and screen recording",IDC_DISABLE_SCREEN_PROTECTION,
352+
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,298,209,10
351353
PUSHBUTTON "&Benchmark",IDC_BENCHMARK,7,320,59,14
352354
DEFPUSHBUTTON "OK",IDOK,257,320,50,14
353355
PUSHBUTTON "Cancel",IDCANCEL,314,320,50,14
@@ -356,8 +358,6 @@ BEGIN
356358
GROUPBOX "Thread-Based Parallelization",IDT_PARALLELIZATION_OPTIONS,7,84,355,93
357359
GROUPBOX "Driver Configuration",IDT_DRIVER_OPTIONS,7,183,357,69
358360
GROUPBOX "Security Options",IDT_SECURITY_OPTIONS,7,257,357,56
359-
CONTROL "Disable protection against screenshots and screen recording",IDC_DISABLE_SCREEN_PROTECTION,
360-
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,298,209,10
361361
END
362362

363363
IDD_FAVORITE_VOLUMES DIALOGEX 0, 0, 380, 368
@@ -407,9 +407,9 @@ STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTI
407407
CAPTION "VeraCrypt - Mount Parameters"
408408
FONT 8, "MS Shell Dlg", 400, 0, 0x1
409409
BEGIN
410+
COMBOBOX IDC_PKCS5_PRF_ID,57,24,103,90,CBS_DROPDOWNLIST | WS_TABSTOP
410411
DEFPUSHBUTTON "OK",IDOK,57,44,50,14
411412
PUSHBUTTON "Cancel",IDCANCEL,111,44,50,14
412-
COMBOBOX IDC_PKCS5_PRF_ID,57,24,103,90,CBS_DROPDOWNLIST | WS_TABSTOP
413413
LTEXT "PKCS-5 PRF:",IDT_PKCS5_PRF,8,26,44,11
414414
END
415415

src/Setup/Setup.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ BEGIN
155155
CONTROL "Disable memory protection for Accessibility tools compatibility",IDC_DISABLE_MEMORY_PROTECTION,
156156
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,112,315,10
157157
PUSHBUTTON "?",IDC_DISABLE_MEMORY_PROTECTION_HELP,337,107,7,14
158-
CONTROL "Create System &Restore point",IDC_SYSTEM_RESTORE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,132,194,11
159-
LTEXT "Please select or type the location where you want to install the VeraCrypt program files. If the specified folder does not exist, it will be automatically created.",IDT_INSTALL_DESTINATION,11,14,319,25
160158
CONTROL "Disable protection against screenshots and screen recording",IDC_DISABLE_SCREEN_PROTECTION,
161159
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,122,209,10
160+
CONTROL "Create System &Restore point",IDC_SYSTEM_RESTORE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,132,194,11
161+
LTEXT "Please select or type the location where you want to install the VeraCrypt program files. If the specified folder does not exist, it will be automatically created.",IDT_INSTALL_DESTINATION,11,14,319,25
162162
END
163163

164164
IDD_INFO_PAGE_DLG DIALOGEX 0, 0, 217, 156

0 commit comments

Comments
 (0)