This topic has not yet been rated - Rate this topic

ITaskbarList3::SetThumbnailClip method

Applies to: desktop apps only

Selects a portion of a window's client area to display as that window's thumbnail in the taskbar.

Syntax

HRESULT SetThumbnailClip(
  [in]  HWND hwnd,
  [in]  RECT *prcClip
);

Parameters

hwnd [in]

Type: HWND

The handle to a window represented in the taskbar.

prcClip [in]

Type: RECT*

A pointer to a RECT structure that specifies a selection within the window's client area, relative to the upper-left corner of that client area. To clear a clip that is already in place and return to the default display of the thumbnail, set this parameter to NULL.

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

Minimum supported server

Windows Server 2008 R2

Header

Shobjidl.h

IDL

Shobjidl.idl

Library

Explorerframe.lib

DLL

Explorerframe.dll

See also

ITaskbarList
ITaskbarList2
ITaskbarList3
Taskbar Extensions

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ