Adds taskbar search icon control

This commit is contained in:
2022-04-12 13:06:53 -05:00
parent 7fb0518e93
commit cf0818709c
2 changed files with 109 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
<definitions>
<definition displayName="$(string.SUPPORTED_WIN)" name="SUPPORTED_WIN"/>
<definition displayName="$(string.SUPPORTED_WIN10_ONLY)" name="SUPPORTED_WIN10_ONLY"/>
<definition displayName="$(string.SUPPORTED_WIN10_11)" name="SUPPORTED_WIN10_11"/>
<definition displayName="$(string.SUPPORTED_WIN11_ONLY)" name="SUPPORTED_WIN11_ONLY"/>
</definitions>
</supportedOn>
@@ -58,5 +59,96 @@
</enum>
</elements>
</policy>
<policy
name="SearchBoxSize"
class="User"
displayName="$(string.SearchBoxSize_Display)"
explainText="$(string.SearchBoxSize_Explain)"
presentation="$(presentation.SearchBoxSize_PresentationID)"
key="Software\Microsoft\Windows\CurrentVersion\Search"
>
<parentCategory ref="uwo"/>
<supportedOn ref="SUPPORTED_WIN"/>
<elements>
<enum id="SearchBoxSize_Enum" valueName="SearchboxTaskbarMode">
<item displayName="$(string.SearchBoxSize_Large)">
<value>
<decimal value="2"/>
</value>
</item>
<item displayName="$(string.SearchBoxSize_Small)">
<value>
<decimal value="1"/>
</value>
</item>
<item displayName="$(string.SearchBoxSize_Hidden)">
<value>
<decimal value="0"/>
</value>
</item>
<item displayName="$(string.SearchBoxSize_Disabled)">
<value>
<delete/>
</value>
</item>
</enum>
</elements>
</policy>
<!-- POLICY "TaskBar Search Box Size"
POLICY "Show all icons in the system tray"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer"
EXPLAIN "Set to enabled to show all icons in the system tray"
VALUENAME "EnableAutoTray"
VALUEON NUMERIC 0
VALUEOFF NUMERIC 1
END POLICY
POLICY "Show Task View button on taskbar"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer"
EXPLAIN "Set to enabled to show the Task View Button on the taskbar"
VALUENAME "ShowTaskViewButton"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Desktop Preview"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
EXPLAIN "Set to enabled to disable the Desktop Preview"
VALUENAME "DisablePreviewDesktop"
VALUEON NUMERIC 0
VALUEOFF NUMERIC 1
END POLICY
POLICY "Open File Explorer to This PC"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
EXPLAIN "Set to enabled to force windows file explorer to automatically open with This PC selected"
VALUENAME "LaunchTo"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Show recent items in the File Explorer"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer"
EXPLAIN "Set to enabled to show recent items in file explorer"
VALUENAME "ShowRecent"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Show frequent items in the File Explorer"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer"
EXPLAIN "Set to enabled to show frequent items in file explorer"
VALUENAME "ShowFrequent"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Show recent items in the start menu"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer"
EXPLAIN "Set to enabled to show recent items in file start menu"
VALUENAME "Start_TrackDocs"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
-->
</policies>
</policyDefinitions>

View File

@@ -9,6 +9,7 @@
<!-- Supported Operating Systems -->
<string id="SUPPORTED_WIN">Microsoft Windows 7 or later</string>
<string id="SUPPORTED_WIN10_ONLY">Microsoft Windows 10</string>
<string id="SUPPORTED_WIN10_11">Microsoft Windows 10 or later</string>
<string id="SUPPORTED_WIN11_ONLY">Microsoft Windows 11</string>
<!-- Category Names -->
<string id="CWP_DisplayName">Custom Windows Preferences</string>
@@ -27,12 +28,28 @@ When set to "Disabled" the user is allowed to choose the start button placement.
<string id="ClassicTaskbarMenuPosition_Left">Left</string>
<string id="ClassicTaskbarMenuPosition_Center">Center</string>
<string id="ClassicTaskbarMenuPosition_Disabled">Disabled</string>
<!-- SearchBoxSize -->
<string id="SearchBoxSize_Display">Taskbar Searchbox Size/Visability</string>
<string id="SearchBoxSize_Explain">This configuration option determines the size/visability of the search icon on the taskbar.
When set to "Small" or "Large" the search icon is displayed on the taskbar.
When set to "Hidden" the search icon is not displayed on the taskbar.
When set to "Disabled" the user is allowed to choose the search size/visability.</string>
<string id="SearchBoxSize_Large">Large</string>
<string id="SearchBoxSize_Small">Small</string>
<string id="SearchBoxSize_Hidden">Hidden</string>
<string id="SearchBoxSize_Disabled">Disabled</string>
</stringTable>
<!-- Presentation IDs -->
<presentationTable>
<presentation id="ClassicTaskbarMenuPosition_PresentationID">
<dropdownList refId="ClassicTaskbarMenuPosition_Enum" noSort="false">Position</dropdownList>
</presentation>
<presentation id="SearchBoxSize_PresentationID">
<dropdownList refId="SearchBoxSize_Enum" noSort="false">Position</dropdownList>
</presentation>
</presentationTable>
</resources>
</policyDefinitionResources>