Re: Changing button highlights with Alert dialogs
Re: Changing button highlights with Alert dialogs
- Subject: Re: Changing button highlights with Alert dialogs
- From: "Laurent Daudelin" <email@hidden>
- Date: Mon, 09 Feb 2004 11:51:10 -0500
On 09/02/04 11:25, "Chad Armstrong" <email@hidden> wrote:
>
Is there a way to change which button is highlighted (or make none of
>
them to be highlighted) when running an alert dialog with
>
NSRunAlertPanel()? I tried to find a document, but didn't find
>
anything. The book Cocoa Programming (Anguish/Buck/Yacktman) said that
>
there is documentation at
>
http://developer.apple.com/documentation/Cocoa/Reference/
>
ApplicationKit/ObjC_classic/index.html, however, NSRunAlertPanel is not
>
there (although it looks like it could).
>
Yes, the first button you provide to NSRunAlertPanel() will be the default
button. It will always be the rightmost button. Check the arguments that
NSRunAlertPanel() takes.
-Laurent.
--
========================================================================
Laurent Daudelin Developer, Multifamily, ESO, Fannie Mae
mailto:email@hidden Washington, DC, USA
************************ Usual disclaimers apply ***********************
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.