IShellUIHelper4::msSiteModeShowButtonStyle Method

New for Windows Internet Explorer 9

Changes the icon image and tooltip of a Thumbnail Toolbar button.


HRESULT msSiteModeShowButtonStyle(
    VARIANT uiButtonID,
    VARIANT uiStyleID


Return Value

Returns S_OK if successful, or an error value otherwise.


The original icon and tooltip are assigned to Style 0; you can reset to the original button style by passing 0 in the uiStyleID parameter. Applying a button style will also reset the button state to active and visible.

See Also

IShellUIHelper4::msSiteModeAddButtonStyle, IShellUIHelper4::msSiteModeUpdateThumbBarButton