ITaskbarList3::SetThumbnailTooltip method (shobjidl_core.h)

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(
  [in] HWND    hwnd,
  [in] LPCWSTR pszTip
);

Parameters

[in] hwnd

Type: HWND

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

[in] 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

Requirement Value
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