ITaskbarList4::SetThumbnailTooltip Method

Specifies or updates the text of the tooltip that is displayed when the mouse pointer rests on an individual preview thumbnail in a taskbar button flyout.

Syntax

HRESULT SetThumbnailTooltip(      
    HWND hwnd,
    LPCWSTR pszTip
);

Parameters

  • hwnd
    [in] The handle to the window whose thumbnail displays the tooltip. This handle must belong to the calling process.
  • pszTip
    [in] The pointer to the text to be displayed in the tooltip. This value can be NULL, in which case the title of the window specified by hwnd is used as the tooltip.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

ITaskbarList, ITaskbarList2, ITaskbarList3, Taskbar Extensions