1. RE: New win32lib location referances

Tony Steward wrote:
> Hello all,
> Re: the latest win32lib 58.5
> I use setRect() in program on resize so certain controls grow as the
> window grows and change location with the window growing also. Now that
> I have loaded the new win lib every thing is out of place.
> 
> So I guess my question is what has changed in regards to getRect,
> setRect etc.
> 
> Thanks
> Tony
> 
> 

Thanks but please disregard I figured it out.

Thanks
Tony



Give your hardest tasks to your lasiest workers. 
They will always find the easiest way to complete it.

new topic     » topic index » view message » categorize

2. RE: New win32lib location referances

> -----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.
--------------------------------------------------------------------

new topic     » goto parent     » topic index » view message » categorize

3. RE: New win32lib location referances

Hi Derek,

Are you aware that you released your work email in your last?

Bill

-----Original Message-----
From: Derek Parnell [mailto:ddparnell at bigpond.com]=20
Subject: RE: New win32lib location referances



> -----Original Message-----
> From: Tony Steward [mailto:tsteward at dodo.com.au]
> Sent: Saturday, 19 April 2003 7:55 AM
> To: EUforum
> 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 also. Now=20
> 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,=20
> 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.
--------------------------------------------------------------------



TOPICA - Start your own email discussion group. FREE! =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu