Getting window position/size of a process

BlitzMax Forums/BlitzMax Programming/Getting window position/size of a process

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I need to know the window position and size of a process
to create an overlaying frame.
I got so far that I have to call the winAPI.
In the API-guide I downloaded there is a function "GetWindowPlacement"
"The GetWindowPlacement function retrieves the show state and the restored, minimized, and maximized positions of the specified window."
Is this the way to get the informations I need?

Would be nice if someone leads me in the right direction.