RE: WIN32LIB57.8 Positioning Bug

new topic     » goto parent     » topic index » view thread      » older message » newer message

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_01C218A3.70FB2BC0
 charset=iso-8859-1

>-----Original Message-----
>From: Tony Steward [mailto:tony at locksdownunder.com]
>Subject: WIN32LIB57.8 Positioning Bug
>
>Hi Derek,
>It seems that the positions of items are now calculated differantly.
>If I have a tool bar location values used to be taken from the tool 
>bar. Now it seems they are taken directly from the window. This 
>means in my old programs that have tool bars, items that were 
>just below the toolbar are now covering the tool bar.
>

Tony,
to fix this problem, in the routine getClientRect() replace the line ...

    if toolbar and call_func(r_isVisible, {toolbar}) then

with

    if toolbar and ((vWinMainState = kNotStarted) or (call_func(r_isVisible,
{toolbar}))) then

and that should do the trick.

-----------
Derek.

==================================================================
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_01C218A3.70FB2BC0
Content-Type: application/ms-tnef

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu