Skip to content

Commit 56bcbfc

Browse files
authored
Add files via upload
1 parent f60bba6 commit 56bcbfc

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

DemoMain.twinproj

466 Bytes
Binary file not shown.

FileDialogDemo.twinproj

466 Bytes
Binary file not shown.

ShellControls.twinpack

466 Bytes
Binary file not shown.

UCSBDemoVB.twinproj

466 Bytes
Binary file not shown.

ucShellBrowse.twin

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ Private Const mVersionMnr = 3
220220
'
221221
'-IPAO hooking code integrated so as to not conflict with ucShellTree.
222222
'
223+
'-Navigation sound is disabled by default on Windows 10; it's now manually loaded
224+
' with a user option to disable this behavior.
225+
'
223226
'New in v11.3
224227
'
225228
'-Added option to apply filter to ComboBox; a FilterDropdown event has been
@@ -642,6 +645,7 @@ Private Const bShowLoadTimeAsStatus As Boolean = False 'Default: False. After lo
642645
Private Const bSoundNavigate As Boolean = True 'Provide more granular control for the PlaySounds option
643646
Private Const bSoundDefBeep As Boolean = True
644647
Private Const bSoundCritical As Boolean = True
648+
Private Const bNavSoundOverrideExplorer As Boolean = True 'Load the navigation sound even when disabled by default (i.e. Windows 10)
645649
Private Const nMaxFoldersInCustomSearchLabel As Long = 3& 'Default: 3. After a search, you can click to search again in Custom. It will display Search Results in Folder1, Folder2, nMaxFolders, ...
646650
'Must be >0
647651
Private Const bInsertNewFilterMatches As Boolean = True 'Default: True. If an item in the current folder is renamed, and now matches the filter where it didn't before, add it as a new item.
@@ -6135,6 +6139,11 @@ Private Sub UserControl_Initialize() Handles UserControl.Initialize
61356139
SND_NAVIGATESTART = GetRegistryValueW(HKEY_CURRENT_USER, "AppEvents\Schemes\Apps\Explorer\Navigating\.Current", "")
61366140
SND_DEFAULTBEEP = GetRegistryValueW(HKEY_CURRENT_USER, "AppEvents\Schemes\Apps\.Default\.Default\.Current", "")
61376141
SND_CRITICAL = GetRegistryValueW(HKEY_CURRENT_USER, "AppEvents\Schemes\Apps\.Default\SystemHand\.Current", "")
6142+
If bNavSoundOverrideExplorer Then
6143+
If SND_NAVIGATESTART = "" Then
6144+
SND_NAVIGATESTART = Environ("WINDIR") & "\media\Windows Navigation Start.wav"
6145+
End If
6146+
End If
61386147

61396148
dwAutoCompFlags = ACO_AUTOAPPEND Or ACO_AUTOSUGGEST
61406149
dwAutoCompListFlags = ACLO_FILESYSDIRS

0 commit comments

Comments
 (0)