Finding window handles

BlitzMax Forums/BlitzMax Beginners Area/Finding window handles

Bremer(Posted 2007) [#1]
I am looking for a way to find window handles of all windows currently on the desktop.

I have tried using EnumWindows() function from the winApi, but it seems to give me all running processes on the computer, not just windows, which the name kinda suggested.

I would appriciate any help in finding a way to create a list of all current windows on the desktop.

[EDIT]

I manage to find the answer myself, and actually coded two alternative ways of doing it. Take a look at http://www.blitzmax.com/Community/posts.php?topic=74144 to see the result.