Connecting Tech Pros Worldwide Forums | Help | Site Map

Windows Toolbar/Taskbar Docking

Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,904
#1: Jan 19 '07
Starting in Windows Media Player 9, Microsoft introduced a nice feature: the ability to minimize Media Player to a Toolbar in the windows Taskbar.

I'm curious if there is anyone around who knows of a technique I could use to do the same thing; after a window has been minimized, I would like to force my window into a toolbar beside the system tray.

I am not sure how this could be accomplished; this is more of a general post to others familiar with the Windows API:
Is the taskbar treated like an MDI container? Are toolbars? If so, I may be able to use SetParent to place my application correctly.

If anyone has done this, has suggestions on doing this, or could point me in the right direction, your help would be greatly appreciated.

Thanks,
Motoma
Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,904
#2: Jan 19 '07

re: Windows Toolbar/Taskbar Docking


After a bit of digging around the MSDN, I have come across what I need for this.
There is a Band Object which can be used to extend the Shell. This Object has a give a programmer the ability to add Info Bands and Command Bands to Internet Explorer, as well as Desk Bands to the Shell. The two seemingly unrelated areas being grouped together is most likely a side effect of the close relation between Internet Explorer and the Shell.
I found a reference to this MSDN page from a page which is no longer linked to (though still exists).
I hope this helps anyone else looking for similar information.
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,400
#3: Jan 20 '07

re: Windows Toolbar/Taskbar Docking


Quote:

Originally Posted by Motoma

After a bit of digging around the MSDN, I have come across what I need for this.
There is a Band Object which can be used to extend the Shell. This Object has a give a programmer the ability to add Info Bands and Command Bands to Internet Explorer, as well as Desk Bands to the Shell. The two seemingly unrelated areas being grouped together is most likely a side effect of the close relation between Internet Explorer and the Shell.
I found a reference to this MSDN page from a page which is no longer linked to (though still exists).
I hope this helps anyone else looking for similar information.

Great link. Thanks, Motoma.
Reply