RE: New win32lib location referances
- Posted by Derek Parnell <ddparnell at bigpond.com> Apr 24, 2003
- 374 views
> -----Original Message----- > From: Tony Steward [mailto:tsteward at dodo.com.au] > Subject: New win32lib location referances >=20 >=20 >=20 > Hello all, > Re: the latest win32lib 58.5 > I use setRect() in=A0program on resize so certain controls grow as = the > window grows and change location with the window growing=20 > also. Now that > I have loaded the new win lib every thing is out of place. >=20 > So I guess my question is what has changed in regards to getRect, > setRect etc. Not sure if this is the answer, but setRect() places controls relative = to their parent's CLIENT extent and not its absolute extent. So if you = have a toolbar, its height is automatically applied to any 'top' value you = supply for controls in the same window. ----------- cheers, Derek Parnell Senior Project Manager Global Technology Australasia Ltd dparnell at glotec.com.au --------------------- -------------------------------------------------------------------- CAUTION - This email and any files attached may contain privileged and confidential information intended solely for the use of the individual = or entity to whom they are addressed. If you are not the intended = recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify the sender immediately. = Any views expressed in this message are those of the individual sender and = may not necessarily reflect the views of Global Technology Australasia = Limited. --------------------------------------------------------------------