Re: Print Preview Version 0.32.
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Nov 11, 2003
- 489 views
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). Pete http://palacebuilders.pwp.blueyonder.co.uk/euphoria.html