scathenC
December 6th, 2006, 03:15 AM
Hey all,
I have an object on my window which acts kind of like a group box,
but has a specific background colour. I am trying to place a radio
button on top of this but due to it's non-transparency I am left
with the radio-buttons background colour to be different.
Can anyone help me with this problem?
So far I have tried WM_CTLCOLORBTN in the parent (however it seems
to only run this code on normal push buttons and not on radio-buttons).
WS_EX_TRANSPARENT does nothing.
I was hoping that I wouldn't have to owner draw another control just
for a simple background colour change! (**** WINDOWS).
Regards
C
I have an object on my window which acts kind of like a group box,
but has a specific background colour. I am trying to place a radio
button on top of this but due to it's non-transparency I am left
with the radio-buttons background colour to be different.
Can anyone help me with this problem?
So far I have tried WM_CTLCOLORBTN in the parent (however it seems
to only run this code on normal push buttons and not on radio-buttons).
WS_EX_TRANSPARENT does nothing.
I was hoping that I wouldn't have to owner draw another control just
for a simple background colour change! (**** WINDOWS).
Regards
C