L
Leo
Hi,
I found that checkbox, label and groupbox have
painting problem with their background. I create simple
frame with background picture and add checkbox, label and
groupbox on it. I set transparent background on controls
to see whole picture. Yes, it works. But, if I set
controls style to System (to get correct XP Visual Style):
checkbox and label background lost transparency!!!
groupbox doesn't repaint background (group box is like
window throw the frame)
So, I think that these three controls in not implemented
correctly in .NET. So I start to implement my own Win32
controls. I create the "static" control (label is based
on it). But the problem is the same: "static" control is
not transparent.
So, question is: "How to make Win32 controls transparent?"
I think, that it could be done successfuly, because
checkbox and radiobutton is the same Win32 class, and
radiobutton is painted correctly, but checkbox is not.
Thanks for any advice.
Leo
I found that checkbox, label and groupbox have
painting problem with their background. I create simple
frame with background picture and add checkbox, label and
groupbox on it. I set transparent background on controls
to see whole picture. Yes, it works. But, if I set
controls style to System (to get correct XP Visual Style):
checkbox and label background lost transparency!!!
groupbox doesn't repaint background (group box is like
window throw the frame)
So, I think that these three controls in not implemented
correctly in .NET. So I start to implement my own Win32
controls. I create the "static" control (label is based
on it). But the problem is the same: "static" control is
not transparent.
So, question is: "How to make Win32 controls transparent?"
I think, that it could be done successfuly, because
checkbox and radiobutton is the same Win32 class, and
radiobutton is painted correctly, but checkbox is not.
Thanks for any advice.
Leo