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

Type: HWND

The handle to the window whose thumbnail displays the tooltip. This handle must belong to the calling process.

pszTip

Type: LPCWSTR

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

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
Library Explorerframe.lib
DLL Explorerframe.dll

See Also

ITaskbarList

ITaskbarList2

ITaskbarList3

Taskbar Extensions