Export (0) Print
Expand All

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

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 passing 0 in the uiStyleID parameter. Applying a button style will also reset the button state to active and visible.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft