quote:
Originally posted by effection
I know that GetWindowRect gets the size of the window relevant to the top left corner of the window but is there anyway to get the position of the window relevant to the top left corner of the full screen?
You got your info a bit wrong there, and as such you actually answered your own question 
 
It is 
GetWindowRect which you need to use. Coordinates are given in screen coordinates that are relative to the upper-left corner of the 
screen.
This means you can know the position of the window relative to the screen as well as it size by either taking the coordinates in its 16 byte long 
RECT structure as-is, or by doing 
right - left and 
top - bottom.
quote:
Originally posted by Mnjul
I think you need GetWindowPos 
SetWindowPos exists, but not GetWindowPos
------------------------------------------------------------
So you need to use either:
GetWindowRect
GetWindowRgn (if window is not rectangular)
GetWindowInfo (if you also need other info at the same time)
all defined in User32.dll
