how can I get a list of the applications which are shown in the Windows taskbar? It's also important that the applications in this list have the same order as in the taskbar.
I've tried it via EnumDesktopWindows in user32.dll and filtered the result by using IsWindowVisible, but there are still windows left which are not shown in the taskbar and furthermore the list is not ordered the same way as the applications in the taskbar are.
I hope someone can help me :-)
Thanks in advance!