Changing Buttons Shape Programatically

  • Thread starter Thread starter AJ
  • Start date Start date
A

AJ

Hi guys,
any clues or suggesstion on how to programatically change the shape of
a button from rectangular to say elliptical or circular. Meaning that
when the mouse hovers just within the shape, only then the Click event
can be generated.
Would be Great if you guys can help

Code can be either in C# or VB.Net
Thanx
AJ
 
how about making a circular button...
but the point is not the shape of the button...
its how to go about changing the shape....
from rectangular to any other shape....
ok, if not elliptical, then perhaps circular...
you can see that in Windows Media Player for example....
Regards
AJ
 
What I mean is default WinForm button have are always (and only)
rectangular.

From that I suppose you could guess there is no method to change the shape
of the button!

What I was saying is: if you write your own or find 3rd parti shaped
buttons, then you might start thinking on how to change the shape.

Do you see what I mean this time?
 
I'm not much use to Windows Media Player but a quick look at it bring the
immediate following first conclusion.

The button used by Media Player are NOT part of the SDK and you have to
implement them YOURSELF or find a third party or sample on
www.codeproject.com

So, to reply again the same answer again a bit differently on: "how do
you...."
: you can't

but you could always write your own
 
Well, Thanx Lloyd,
Even though i knew that a different shaped button was not a part of the
SDK, i was just wondering, as since it has been done in Windows Media
Player, thought how was it done.
Thanx for your time
Regards
AJ
 
Back
Top