STPFLAG enumeration

Used by the ITaskbarList4::SetTabProperties method to specify tab properties.

Syntax


typedef enum STPFLAG { 
  STPF_NONE                       = 0x00000000,
  STPF_USEAPPTHUMBNAILALWAYS      = 0x00000001,
  STPF_USEAPPTHUMBNAILWHENACTIVE  = 0x00000002,
  STPF_USEAPPPEEKALWAYS           = 0x00000004,
  STPF_USEAPPPEEKWHENACTIVE       = 0x00000008
} STPFLAG;

Constants

STPF_NONE

No specific property values are specified. The default behavior is used: the tab window provides a thumbnail and peek image, either live or static as appropriate.

STPF_USEAPPTHUMBNAILALWAYS

Always use the thumbnail provided by the main application frame window rather than a thumbnail provided by the individual tab window. Do not combine this value with STPF_USEAPPTHUMBNAILWHENACTIVE; doing so will result in an error.

STPF_USEAPPTHUMBNAILWHENACTIVE

When the application tab is active and a live representation of its window is available, use the main application's frame window thumbnail. At other times, use the tab window thumbnail. Do not combine this value with STPF_USEAPPTHUMBNAILALWAYS; doing so will result in an error.

STPF_USEAPPPEEKALWAYS

Always use the peek image provided by the main application frame window rather than a peek image provided by the individual tab window. Do not combine this value with STPF_USEAPPPEEKWHENACTIVE; doing so will result in an error.

STPF_USEAPPPEEKWHENACTIVE

When the application tab is active and a live representation of its window is available, show the main application frame in the peek feature. At other times, use the tab window. Do not combine this value with STPF_USEAPPPEEKALWAYS; doing so will result in an error.

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

 

 

Show: