IDeskBand2 interface

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

Important  You should use thumbnail toolbars in new development in place of desk bands, which are not supported as of Windows 7.


The IDeskBand2 interface has these methods.

Method Description
IDeskBand2::CanRenderComposited Indicates the deskband's ability to be displayed as translucent.
IDeskBand2::GetCompositionState Gets the composition state.
IDeskBand2::SetCompositionState Sets the composition state.


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:


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl.h