Re: I have searched but not found a solution to this error in win32lib.

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

amux wrote:
> 
> Robert Craig wrote:
> > 
> > amux wrote:
> > > This is ex.err
> > 
> > To get a meaningful ex.err file,
> > you should run your program with the interpreter, exw,
> > or else bindw with the -full_debug option.
> > 
> > Regards,
> >    Rob Craig
> >    Rapid Deployment Software
> >    <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a>
> 
> }}}
<eucode>
> constant Bitmap2 = createEx( Bitmap, "", Window_ML, 360, 288, 400, 200, 0,
> w32or_all({-2}) )
> </eucode>
{{{

> 
> looks like the error is in this code 
> tried different params. without success
> 
> /amux

The problem is in the extended style parameter. w32or_all({-2}) will evaluate to
#FFFFFFFE, meaning all styles set except 1. Change this parameter to 0 and it
will work. The Bitmap control itself has no specific extended styles but some
generic extended window styles are useful. You can set this according to your
requirements. But be certain to set only valid styles or a failure will result.

Larry Miller


Larry

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

Search



Quick Links

User menu

Not signed in.

Misc Menu