Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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


[in] The ID of a button that is previously installed with msSiteModeAddThumbBarButton.
[in] The style ID that msSiteModeAddButtonStyle returns.

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

Community Additions

© 2015 Microsoft