RE: Win32lib - resize client
- Posted by Derek Parnell <Derek.Parnell at SYD.RABOBANK.COM> Jun 13, 2002
- 402 views
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C21348.6C77AA70 charset=iso-8859-1 This is a good point, Mike. It should be easy enough to fix this in the library. To summarize: When the library calculates the client area, it should only consider visible toolbars and visible statusbar. Note, it will still be up to the application to reposition any controls that would be effected by hiding and showing these bars. In other words, if you hide a toolbar, the library won't automatically shift controls up into the newly revealed area. --------- Derek. > -----Original Message----- > From: Mike [mailto:vulcan at win.co.nz] > Sent: Friday, 14 June 2002 12:03 > To: EUforum > Subject: Win32lib - resize client > > > > Derek (or other win32lib gurus), > > If I have a toolbar in a window and I proceed to hide it using > setVisible() the client area does not resize. The same goes > for using a > status bar. Is there some *easy* way to make the client area resize to > incorporate the area formerly occupied by the other controls? If there > is a solution then it would work in reverse too. When the > toolbar/statusbar was un-hidden the client area would then down-size > etc.. > > TIA > > vulcan at win.co.nz > > > > ================================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. ================================================================== The information contained in this message may be confidential and is intended to be exclusively for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. ================================================================== ------_=_NextPart_000_01C21348.6C77AA70 Content-Type: application/ms-tnef