• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating non-standard shaped buttons and windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Creating non-standard shaped buttons and windows (From: Basavaraj Yahoo <email@hidden>)

  • Prev by Date: Re: How to do multilanguage support
  • Next by Date: Re: Creating non-standard shaped buttons and windows
  • Previous by thread: Creating non-standard shaped buttons and windows
  • Next by thread: Re: Creating non-standard shaped buttons and windows
  • Index(es):
    • Date
    • Thread