sorry to be a pain guys..

>>So just make the radiobutton a bitmap.  Have one for selected and
another for unselected and set your transparent appropriately.

I can't make the assumption that the image of the radiobutton will be
the same for all versions of Windows. 


>>I don't think I quite understand what you are after...
>>What part of the button do you want transparent and what part do you
want not transparent ?

Basically if you set the color of the radiobutton to red, then I want
all red pixels to be transparent.  

Cheers
Al.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Paul McKenzie
Sent: Monday, 21 June 2004 11:34 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Transparent Radiobutton




Regards
Paul McKenzie
SMSS Ltd.
New Zealand.
----- Original Message -----
From: "Allan Vergara" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]>
Sent: Monday, June 21, 2004 11:17 AM
Subject: RE: [DUG] Transparent Radiobutton


> Hi Paul,
>  I will still have the same problem; the label will be transparent but
> not the button.
>
> Thanks.
> Al.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> On Behalf Of Paul McKenzie
> Sent: Monday, 21 June 2004 11:06 a.m.
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] Transparent Radiobutton
>
> Is only a radio button ???
> If so why not have a separate label and RadioButton without label
text.
>
> Regards
> Paul McKenzie
> SMSS Ltd.
> New Zealand.
> ----- Original Message -----
> From: "Allan Vergara" <[EMAIL PROTECTED]>
> To: "NZ Borland Developers Group- Delphi List" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Monday, June 21, 2004 10:43 AM
> Subject: [DUG] Transparent Radiobutton
>
>
> > Good morning everyone!
> >
> > Does anyone know how to make a radiobutton partially transparent
(ie.
> > button and text still visible ;p). I've made some progress by
painting
> > the radiobutton to a temporary bitmap and combining this to the
> parent's
> > image (only the area under the control), using BrushCopy to achieve
> > transparency. This works fine except when I click on the control and
> > drag the mouse outside its boundrect, Windows seems to be repainting
> the
> > button part of the control without sending a WM_PAINT. I've tried
> Google
> > but it seems that the only solution out there is to make the control
> > ownerdraw. Unfortunately we are still supporting Win95 - XP; hence I
> > can't make the assumption that the appearance of the radiobutton
will
> > remain the same. Furthermore, because we are supporting Win95 I
can't
> > use the fancy transparency features that are available in win2000 :(
> >
> > Ideas???
> >
> >
> > _______________________
> > Allan D. Vergara
> > Software Engineer
> > Niche Software Ltd.
> > http://www.WorkPace.com
> >
> > _______________________________________________
> > Delphi mailing list
> > [EMAIL PROTECTED]
> > http://ns3.123.co.nz/mailman/listinfo/delphi
> >
>
>
> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to