• 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: System Sound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Sound


  • Subject: Re: System Sound
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 10 May 2007 11:07:34 -0400

On 5/10/07, Aaron Wallis <email@hidden> wrote:
Could be a really dumb question, but how would I get my application
to trigger a system sound?
There's a part of my interface where I want so use sound as a
notification of an invalid request... is there some function/selector
I can call that just makes a "ding"??

Same as most anywhere else ... using the "system beep" function. The Cocoa way, like most other functions, starts with "NS" ... NSBeep();

--
I.S.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >System Sound (From: Aaron Wallis <email@hidden>)

  • Prev by Date: Re: "Select All" first in table view
  • Next by Date: Re: System Sound
  • Previous by thread: System Sound
  • Next by thread: Re: System Sound
  • Index(es):
    • Date
    • Thread