Hi all,
I am sure that i must use enumwindows function, but it return to me all windows (visibles and unvisibles and any others ...). I want to make any simple way for list of this windows into taskbar, only.

Thanks in advance
Posted on 2004-06-20 10:07:06 by martidim
Enumerate the windows and check the styles and extended styles. To be included on the taskbar a window will have no parent, the WS_EX_APPWINDOW extended style and WS_VISIBLE style.
Posted on 2004-06-20 10:18:17 by donkey
At http://spiff.tripnet.se/~iczelion/source2.html there are two examples from Comrade. One called ProcessViewer and the other one WindowViewer.

Both examples seem to have problems on XP (well, at mine at least) but the source code shows fairly well how to enumerate Processes and sort through visible windows.

Cheers,
JC
Posted on 2004-06-20 11:48:17 by JimmyClif
Thanks !!!
Posted on 2004-06-20 13:24:36 by martidim