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?

Thanks,

The Phoenix

P.S please dont tell me its really easy and i just couldnt figure it out ;)

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?

Thanks,

The Phoenix

P.S please dont tell me its really easy and i just couldnt figure it out ;)

GetWindowRect should do the job

*"the dimensions are given in screen*

coordinates that are relative to the

upper-left corner of the screen. "coordinates that are relative to the

upper-left corner of the screen. "