Re: getClientRect
- Posted by Derek Parnell <ddparnell at bigpond.com> May 16, 2003
- 475 views
----- Original Message ----- From: "aku saya" <akusaya at gmx.net> To: "EUforum" <EUforum at topica.com> Subject: getClientRect > > In the doc it says > > getClientRect ( integer ControlId ) > Get uncovered portion of the client area. > Returns: { x1, y1, x2, y2 } > > If I not mistaken, it should be > {x, y, width, height} ?? > Actually that turns out not to be the case. This routine returns {Left, Top, Right, Bottom} coordinates. Not the way I'd do it but that's Windows for you. Actually, I'll enhance the return value so it returns {Left, Top, Right, Bottom, Width, Height}. ---------------- cheers, Derek Parnell