PhABResExportCommon_t.message()

A function exported by PhAB to display a message dialog

Synopsis:

int message (
  char *message,
  char *button1,
  char *button2,
  char *button3,
  int default_button );

Arguments:

message
The text that appears in the message dialog.
button1
The text for the first button.
button2
The text for the second button. Set to NULL if you do not require a second button.
button3
The text for the third button. Set to NULL if you do not require a third button.
default_button
The index (1, 2, or 3) of the button with focus when the message dialog is displayed.

Description:

Exported from PhAB in the PhABResExportCommon_t structure.

This function displays a customizable message dialog.

Returns:

The index of the button the user clicked.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhABResExportCommon_t