Επεξεργασία

Κοινή χρήση μέσω


IDeskBand2 interface (shobjidl.h)

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.
 

Inheritance

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

Methods

The IDeskBand2 interface has these methods.

 
IDeskBand2::CanRenderComposited

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

Gets the composition state.
IDeskBand2::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

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