IDOMSiteModeEvent::buttonID Property

New for Windows Internet Explorer 9

Gets the Thumbnail Toolbar button ID that is clicked.

Syntax


HRESULT IDOMSiteModeEvent::get_buttonID(long *p);

Parameters

p
Pointer to a variable of type long that receives the numeric ID of the button that is clicked.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This event is fired when a user clicks a custom button in a Thumbnail Toolbar that pinned site adds with msSiteModeAddThumbBarButton. The button ID that this event returns is the same that is returned when the button was added.

See Also

IShellUIHelper4::msSiteModeAddThumbBarButton

Community Additions

ADD
Show:
© 2014 Microsoft