Windows 7: Loop through Taskbar items

Posted by balint on Stack Overflow See other posts from Stack Overflow or by balint
Published on 2010-02-01T20:04:41Z Indexed on 2010/05/09 19:18 UTC
Read the original article Hit count: 121

Filed under:


I'm trying to build a small utility for myself only to hide labels of running programs with windows visible in the taskbar where the label holds no information (for example "iTunes", "Microsoft SQL Server Mngmt Studio", "~cmd.exe") but keep windows like Windows Explorer and Visual Studio and MSN ungroupped, with labels (to know which folders you are currently listing, which projects are open, and who are you chatting with by name).

I'm trying to loop through all windows in the taskbar on windows 7, but without any luck. I found some samples for XP's taskbar reorders, they no longer usable. I've checked the samples in WindowsAPICodePack for Windows 7 Taskbar manipulation, but it only lets me access my processes' windows.

© Stack Overflow or respective owner

Related posts about windows-7

Related posts about taskbar