1 out of 2 rated this helpful - Rate this topic

IDeskBand2 interface

[IDeskBand2 may be altered or unavailable in subsequent versions of the operating system or product.]

Applies to: desktop apps only

Exposes methods to enable and query translucency effects in a deskband object.

Note  We recommend that you use thumbnail toolbars in new development in place of desk bands.

Members

The IDeskBand2 interface inherits from IDeskBand. IDeskBand2 also has these types of members:

Methods

The IDeskBand2 interface has these methods.

MethodDescription
CanRenderComposited

Indicates the deskband's ability to be displayed as translucent.

GetCompositionState

Gets the composition state.

SetCompositionState

Sets the composition state.

 

Remarks

This interface also provides the methods of the IOleWindow, IDockingWindow, and IDeskBand interfaces, from which it inherits.

If implemented in all active deskbands, this interface allows the taskbar to be displayed using translucent effects. If an active deskband does not implement IDeskBand2, then translucency is disabled for the entire taskbar.

A deskband can implement IDeskBand2 as a communication conduit between itself and the taskbar as follows:

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll

 

 

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
Translucency
There is no explanation about how to render a window translucent; I'm sure it is explained somewhere else in the library, but a link should be provided for clearness.