IDeskBand2 interface (shobjidl.h)
Exposes methods to enable and query translucency effects in a deskband object.
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:
- 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.
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 |