QUOTE (Delfins @ Aug 8 2006, 11:10 PM)

1.) GetWindowRect(hwnd,rect)
2.) borders for what !?
3.) Use MSDN search - there is all info (API,articles,examples)
Thanks Deflins.
I was after the border widths and the title bar height for a form. I’m actually programming in VB but there are a few idiosyncrasies with its coordinates. The answer was under my nose. The function is GetSystemMetrics(32) for the border and GetSystemMetrics(4) for the title bar.
DJ