Absolute pane coordinates

Blitz3D Forums/Blitz3D Programming/Absolute pane coordinates

BlackD(Posted 2005) [#1]
Another question that will have been asked a billion times but I can't find it with search.. how can I find the global (err.. windows.. ) coordinate, of the drawing panel inside the Blitz window. I know how to read from pixels on-screen outside the Blitz window, but I'm not sure how to figure out where the Blit window drawing panel is. (x+5,y+25) doesn't work of course, as different people use different sized title bars, windows themes, etc. TIA

+BlackD


Shambler(Posted 2005) [#2]
As far as I can work out it is 'AbsLeft()' and 'AbsTop()'.

Info here, http://search.cpan.org/src/ACALPINI/Win32-GUI-0.0.558/docs/methods.html#AbsLeft_


aab(Posted 2005) [#3]
GetClientRect()?