Problems with owndraw buttons and background
Posted: Tue Jul 29, 2003 9:33 pm
http://caosandkin.bei.t-online.de/pureb ... utton2.zip
I overworked my CostumButtons, but i get a problem. I found a method, how to draw transparent image without using startdrawing(), but i have a little problem:

As you see, the background of the around the buttons is gray and not the same like the background of the mainwindow. (and yes, the buttons are draw real transparent, because outside the round button is the color black!)
It seems, that the redraw of the background in the button is stopped for the mainwindow. How can i change this?
GPI
I overworked my CostumButtons, but i get a problem. I found a method, how to draw transparent image without using startdrawing(), but i have a little problem:

As you see, the background of the around the buttons is gray and not the same like the background of the mainwindow. (and yes, the buttons are draw real transparent, because outside the round button is the color black!)
It seems, that the redraw of the background in the button is stopped for the mainwindow. How can i change this?
GPI