Exposes methods to enable and query translucency effects in a deskband object.
IDeskBand2 Members
CanRenderComposited Indicates the deskband's ability to be displayed as translucent.CloseDW Notifies the docking window object that it is about to be removed from the frame. The docking window object should save any persistent information at this time.GetBandInfo Gets state information for a band object.GetCompositionState Gets the composition state.ResizeBorderDW Notifies the docking window object that the frame's border space has changed. In response to this method, the IDockingWindow implementation must call IDockingWindowSite::SetBorderSpaceDW, even if no border space is required or a change is not necessary.SetCompositionState Sets the composition state.ShowDW Instructs the docking window object to show or hide itself.
Remarks
IDeskBand2 is derived from IOleWindow through IDockingWindow and IDeskBand. See the following topics for details on these methods also available to IDeskBand2 through that inheritance.Additional IDeskBand2 MethodsIDeskBand2::GetWindowIDeskBand2::ContextSensitiveHelpIf 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.
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:
Interface Information
Minimum DLL Versionshell32.dllCustom ImplementationNoInherits fromIDeskBandHeader and IDL filesshobjidl.h, shobjidl.idlMinimum operating systems Windows Vista