RE: PictureButton background color

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

Yeah, I figured as much.  That's what I wound up doing and it seems to 
work fine.  However, I'm concerned that I might not be releasing 
resources correctly.  Should be bitmap be deleted before it's recreated? 
 If so, what function would I use?

Thanks again Derek!

Jonas - anxiously looking forward to next win32lib release....
Derek Parnell wrote:
> Jonas,
> when the bitmap is drawn with transparency, the background at the time 
> of drawing is shown instead 
> of the designated transparency color. This is a once-off thing. It does 
> not automatically get 
> redrawn if the background is altered. 
> 
> What you have to do is recreate the button images whenever the 
> background is altered.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu