Way to get Active Window Handle?

BlitzMax Forums/BlitzMax Programming/Way to get Active Window Handle?

[edit] Never mind - didn't read all of your post.

I'm sure there's a native way of doing it - will have a look.

(although - if you call GetActiveWindow immediately after creating the graphics object, there's [virtually] zero chance of it being wrong).