Keeping the taskbar transparent when your deskband is enabled

If you have code that implements a deskband for the Windows Taskbar in Windows Vista, you may have noticed that it causes the taskbar to appear opaque when there is not a maximized window open, instead of being transparent, but darkly tinted which is the normal state of the taskbar.

You can get around this by implementing the IDeskBand2 interface and responding to the associated methods appropriately.