Re: Print Preview Version 0.32.

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

----- Original Message ----- 
From: "Pete Lomax" <petelomax at blueyonder.co.uk>
To: <EUforum at topica.com>
Subject: Re: Print Preview Version 0.32.


> 
> 
> On Tue, 11 Nov 2003 09:35:06 +1100, Derek Parnell
> <ddparnell at bigpond.com> wrote:
> 
> >> I've been told the following fails on windows XP (it works on win98):
> >> 
> >> include win32lib.ew
> >> constant
> >> zwin=createEx(Window,"Zoom",0,0,30,1600,130,0,{WS_CHILD,WS_EX_TOOLWINDOW})
> >> 
> >> I know, WS_CHILD is wrong. My question is do you think win32lib should
> >> trap this case. I know you can't guard against all my stupidity, but
> >> for  version compatibility it may be better to stop it working on 98.
> >> 
> >
> >Yes it should fail. Using WS_CHILD without speciying the parent is never
> >going to work as expected. I could detect this and fail it within the library.
> Also WS_CHILD was passed in the extended flags slot, so it fails even
> when you do specify a parent, I think (but don't have XP so I can't
> test that).
> 

Hey! I didn't even notice that mistake. Soon you will be able to specify such a
window like ...

newUIObj("Window, Zoom, at={0,30}, size={1600,130}, flags={WS_CHILD,
 WS_EX_TOOLWINDOW}" )

and win32lib will handle the Flags/ExFlags issue, plus use the most recent
window as the parent window by default.

-- 
Derek

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

Search



Quick Links

User menu

Not signed in.

Misc Menu