Okay, i've been trying to sort this out for days.

All i need is to get the x and y coordinates into a POINT structure, but i cannot find anything on how to do it.

I've tried using GetWindowPlacement but it seems to give me really odd numbers, does anyone know how to do this?

The Phoenix

P.S please dont tell me its really easy and i just couldnt figure it out ;)
Posted on 2003-01-21 08:01:43 by the_phoenix
GetWindowRect should do the job

"the dimensions are given in screen
coordinates that are relative to the
upper-left corner of the screen. "
Posted on 2003-01-21 09:50:34 by mob