IShellUIHelper4::msSiteModeShowButtonStyle Method

New for Windows Internet Explorer 9

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

Syntax

HRESULT msSiteModeShowButtonStyle(
    VARIANT uiButtonID,
    VARIANT uiStyleID
);

Parameters

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 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