Add a custom window in the Windows taskbar

Add a custom window in the Windows taskbar

Post by » Sat, 28 Mar 2009 00:19:48


Hi everyone,

I would like to know if there is any API that allows the programmer to
add a custom window in the Windows taskbar? A lot of software add a
window between the Start button and the quick launch area, but I do not
know how it is implemented and I could not find any documrntation on
this subject yet.

Any help would be greatly appreciated!


Thank you,
Yannick
 
 
 

Add a custom window in the Windows taskbar

Post by Seethara » Sat, 28 Mar 2009 04:52:46

Are you looking for something called a "Deskband" ?

There are examples in codeguru and codeproject.

http://www.yqcomputer.com/

-SM

 
 
 

Add a custom window in the Windows taskbar

Post by Kellie Fit » Sat, 28 Mar 2009 05:10:59


Hi,

You can use the following API to create a GUI window
and dynamically add it to the taskbar:

CreateWindowEx() WS_EX_APPWINDOW

http://www.yqcomputer.com/

Kellie.
 
 
 

Add a custom window in the Windows taskbar

Post by » Sat, 28 Mar 2009 06:27:32

Not exactly. Here is what I would like to do:

http://www.yqcomputer.com/
http://www.yqcomputer.com/

It

appears that this button is a classic window (WS_EX_TOOLWINDOW), just
like the start button itself, but I do not know how they managed to
"dock" it in the taskbar, just at the right of the start button....

Thank you,
Yannick


On 2009-03-26 20:52:46 +0100, Seetharam < XXXX@XXXXX.COM > said:
 
 
 

Add a custom window in the Windows taskbar

Post by Remy Lebea » Sat, 28 Mar 2009 06:45:10


Yes, there is. What you are looking for is called a "Desk Band":

http://www.yqcomputer.com/ #implementing_band_objects

You have to create a ActiveX/COM object that implements the IDeskBand
interface and the CATID_DeskBand category.

--
Remy Lebeau (TeamB)
 
 
 

Add a custom window in the Windows taskbar

Post by Remy Lebea » Sat, 28 Mar 2009 06:54:32


DeskBand objects are provided a OS-managed parent window that they can then
put whatever child windows they want onto. That parent window is then
docked to the TaskBar directly, or detached as a floating window. The
deskband object itself does not manage that, the OS does.
 
 
 

Add a custom window in the Windows taskbar

Post by » Sat, 28 Mar 2009 07:37:20

Thank you for the information!
But I think the example I am referring to is not a DeskBand for several
reasons:

- the window is located next to the start button
- the window is not movable, nor draggable to the desktop
- there is no entry in the toolbars submenu to hide / display this window

Here is a more meaningful screenshot:
http://www.yqcomputer.com/


Thank you,
Yannick


On 2009-03-26 22:54:32 +0100, "Remy Lebeau" < XXXX@XXXXX.COM > said: