Finding window handles

BlitzMax Forums/BlitzMax Beginners Area/Finding window handles

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

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.