Hi,
In an application, I want to make my buttons some thing like this:
1) Draw a GIF with some transparent areas into it on all buttons.
2) Clip the buttons such that on NON-Transparent area responds to mouse
clicks and transparent area doesn't.
Any Idea for any one, on How to move ahead ?
Thanks,
* (Vipul) ( ) ;
PS: I think the basic problem here is to find what area to clip. I would
admire any help.
=================================
VIPUL PATHAK
Impetus Infotech India Pvt. Limited,
Indore, MP, India.
Michael Powell - 19 Jan 2006 13:19 GMT
Hi Vipul,
you could make a GraphicsPath that is one pixel bigger than your gif so that
it includes a pixel of transparent on all sides (so that any anti-aliasing
still works) then use that GraphicsPath as the region for your button.
This might work, good luck;

Signature
Mike Powell
Ramuseco Limited
www.ramuseco.com
> Hi,
>
[quoted text clipped - 16 lines]
> Impetus Infotech India Pvt. Limited,
> Indore, MP, India.