RE: PictureButton background color
- Posted by Jonas Temple <jktemple at yhti.net> Sep 12, 2002
- 399 views
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.