ITaskbarList4::SetTabProperties method (shobjidl_core.h)
Allows a tab to specify whether the main application frame window or the tab window should be used as a thumbnail or in the peek feature under certain circumstances.
HRESULT SetTabProperties( [in] HWND hwndTab, [in] STPFLAG stpFlags );
The handle of the tab window that is to have properties set. This handle must already be registered through RegisterTab.
One or more members of the STPFLAG enumeration that specify the displayed thumbnail and peek image source of the tab thumbnail.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
An application might want to use the thumbnail or peek representation of its associated parent window if the application cannot generate its own thumbnail for a tab or for its active tab content (such as an animation) to appear live.
|Minimum supported client||Windows 7 [desktop apps only]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|