Function

CFUserNotificationCheckBoxChecked

Returns a flag used to set or test a checkbox’s state.

Declaration

CFOptionFlags CFUserNotificationCheckBoxChecked(CFIndex i);

Parameters

idx

The index of the checkbox to set or test. The index corresponds to the order in which the checkbox titles are listed in the kCFUserNotificationCheckBoxTitlesKey array of the user notification’s description dictionary. idx must be in the range 0 to 7.

Return Value

A flag that can be used either to set the state of a checkbox when creating a user notification with CFUserNotificationCreate or to test a checkbox’s state returned in a user notification’s response flags, such as from CFUserNotificationReceiveResponse, when the notification dialog is dismissed.

See Also

CFUserNotification Miscellaneous Functions

CFUserNotificationCancel

Cancels a user notification dialog.

CFUserNotificationCreate

Creates a CFUserNotification object and displays its notification dialog on screen.

CFUserNotificationCreateRunLoopSource

Creates a run loop source for a user notification.

CFUserNotificationDisplayAlert

Displays a user notification dialog and waits for a user response.

CFUserNotificationDisplayNotice

Displays a user notification dialog that does not need a user response.

CFUserNotificationGetResponseDictionary

Returns the dictionary containing all the text field values from a dismissed notification dialog.

CFUserNotificationGetResponseValue

Extracts the values of the text fields from a dismissed notification dialog.

CFUserNotificationGetTypeID

Returns the type identifier for the CFUserNotification opaque type.

CFUserNotificationPopUpSelection

Returns a flag used to set the selected element of a pop-up menu.

CFUserNotificationReceiveResponse

Waits for the user to respond to a notification or for the notification to time out.

CFUserNotificationSecureTextField

Returns a flag used to set the secure state of a text field.

CFUserNotificationUpdate

Updates a displayed user notification dialog with new user interface information.