Function

NSGetInformationalAlertPanel

Returns an alert panel to display an informational message.

Declaration

id NSGetInformationalAlertPanel(NSString *title, NSString *msgFormat, NSString *defaultButton, NSString *alternateButton, NSString *otherButton, ...);

Discussion

Returns an NSPanel that can be used to set up a modal session. No button is displayed if defaultButton is nil. When you’re finished with the panel created by this function, you must dispose of it by passing it to NSReleaseAlertPanel.

The arguments for this function are the same as those for the NSRunAlertPanel function. For more information on using a panel in a modal session, see NSGetAlertPanel.