IShellUIHelper4::msSiteModeShowButtonStyle Method
Changes the icon image and tooltip of a Thumbnail Toolbar button.
Syntax
HRESULT msSiteModeShowButtonStyle( VARIANT uiButtonID, VARIANT uiStyleID );
Parameters
- uiButtonID
[in] The ID of a button that is previously installed with msSiteModeAddThumbBarButton.- uiStyleID
[in] The style ID that msSiteModeAddButtonStyle returns.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The original icon and tooltip are assigned to Style
0
; you can reset to the original button style by passing0
in the uiStyleID parameter. Applying a button style will also reset the button state to active and visible.
See Also
IShellUIHelper4::msSiteModeAddButtonStyle, IShellUIHelper4::msSiteModeUpdateThumbBarButton