Exposes methods to enable and query translucency effects in a deskband object.
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.|
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:
- Taskbar calls IDeskBand2::CanRenderComposited to learn if a deskband supports translucency. If one or more do not, the entire taskbar is rendered opaque.
- Taskbar calls IDeskBand2::SetCompositionState as appropriate in response to a user turning translucent effects on or off. The taskbar should attempt to render itself translucent or opaque in response to this call.
- IDeskBand2::GetCompositionState is the counterpart of IDeskBand2::SetCompositionState.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|