Re: Creating non-standard shaped buttons and windows
Re: Creating non-standard shaped buttons and windows
- Subject: Re: Creating non-standard shaped buttons and windows
- From: Stephane Sudre <email@hidden>
- Date: Wed, 1 Feb 2006 15:23:17 +0100
On 1 févr. 06, at 12:21, Basavaraj Yahoo wrote:
Hi,
How can I create non-standard shaped buttons and windows in Cocoa.
Like oval buttons, oval and round windows, etc....
Thanks in advance
For custom shaped window, you have a sample code available on the ADC
Website: transparentwindow or something like this.
For custom shaped buttons, you could subclass NSButtonCell and/or
NSButton or NSView and handle the click yourself.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden