I was wondering if anybody knows how exactly programs like TaskbarShuffle (http://www.freewebs.com/nerdcave/taskbarshuffle.htm), or http://hp.vector.co.jp/authors/VA013430/program/taskbarpp/main.html do. Basically they add the functionality to your taskbar so that you can drag your individual minimized tasks around, and i've searched quite a bit but havn't landed on any clues. I'm pretty sure it's a windows hook of some kind, but i dont know of it's an API hook, does it have something to do with intercepting messages from shell_traywnd (that would mean it's relying on some undocummented stuff ..?)

any ideas would be greatly appreciated.

thanks in advance!
Posted on 2007-05-10 03:05:23 by Drocon
This is a standard toolbar, this program installs a subclass to its parent window, detects TBN_BEGINDRAG notification, and eventually moves the button with all invisible buttons to right, using the TB_MOVEBUTTON message (if grouping is enabled).
Also if the buttons grouping is enabled and you send TB_GETBUTTON, only the visible buttos have BTNS_WHOLEDROPDOWN flag set.
Somewhere on codeproject is an example "enumerating tray icons in xp"
Posted on 2007-05-12 02:15:12 by sapero
woohoo! thank you so much for showing this!
i ve been wanting tis in windows since some time but never thought to search if somebody had done it!

this made my day :D
Posted on 2007-05-15 06:59:40 by HeLLoWorld