Export (0) Print
Expand All

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

Parameters

hwnd [in]

Type: HWND

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

pszTip [in]

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]

Header

Shobjidl.h

IDL

Shobjidl.idl

Library

Explorerframe.lib

DLL

Explorerframe.dll

See also

ITaskbarList
ITaskbarList2
ITaskbarList3
Taskbar Extensions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft