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

Derek Parnell wrote:
> 
> amux wrote:
> > 
> > Derek Parnell wrote:
> > > 
> > > amux wrote:
> > >  
> > > > constant Bitmap2 = createEx( Bitmap, "", Window_ML, 336, 288, 400, 200,
> > > > 0,
> > w32or_all({1}))</font></i>
> > > 
> > > But what are you trying to achieve by setting the EXFLAG parameter to 1?
> > 
> > 
> > avoid crash (win2000), 
> > as you suggested I isolated the problem to this code
> 
> That is not what I meant. 
> 
> Most people create Bitmaps with the EXFLAG parameter set to zero. You have
> choosen
> to use something else, in this case one. Why one and not zero, which is
> normally
> used? 

if I use zero then I get the errormessage 

> 
> > I use the Bitmap to draw some lines , maybee there is a
> > better way
> 
> Bitmaps can work fine. They save you from have to trap the Paint event as they
> do it automatically.
> 
>  
> > > -- 
> > > Derek Parnell
> > > Melbourne, Australia
> > > Skype name: derek.j.parnell
> > 
> > 
> > /amux
> 
> 
> -- 
> Derek Parnell
> Melbourne, Australia
> Skype name: derek.j.parnell


/amux

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

Search



Quick Links

User menu

Not signed in.

Misc Menu