Re: I have searched but not found a solution to this error in win32lib.
- Posted by amux <jjsg at abc.se> May 11, 2007
- 745 views
Larry Miller wrote: > > 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 I have changed to constant Bitmap2 = createEx( Bitmap, "", Window_ML, 336, 288, 400, 200, 0, w32or_all({1})) and it works. (tested winME and win2000.) /amux