Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables the Thumbnail Toolbar in the thumbnail preview of a pinned site.
This method is not supported for Windows apps using JavaScript.
![]() |
Syntax
HRESULT retVal = object.msSiteModeShowThumbBar();
Parameters
This method has no parameters.
Return value
Type: HRESULT
This method can return one of these values.
Return code | Description |
---|---|
S_OK | The operation completed successfully. |
E_ACCESSDENIED | The current page is not a pinned site. |
E_NOTIMPL | This method is not supported on Windows CE. |
Standards information
There are no standards that apply here.
Remarks
This method completes the process of creating a Thumbnail Toolbar. You must add buttons to the Thumbnail Toolbar by using IShellUIHelper4::msSiteModeAddThumbBarButton before the Thumbnail Toolbar can be displayed.
Buttons cannot be added after the Thumbnail Toolbar is visible, but you can:
- Use IShellUIHelper4::msSiteModeUpdateThumbBarButton to temporarily hide or disable buttons that are not needed.
- Replace existing positions or toggle buttons by using IShellUIHelper4::msSiteModeAddButtonStyle.
Note To view the Thumbnail Toolbar, hover over the pinned site button in the Windows taskbar.
See also
Reference
IShellUIHelper4::msSiteModeAddThumbBarButton