sds_alert

int sds_alert (const char *string);


Display an alert or message for the user.


This function displays a dialog box containing the string. This provides information to the user and includes only the OK button. The argument *string is the text to be displayed in the small dialog box. This string may contain new-line characters ("\n") to present the text more clearly.

The function returns RTNORM if successful; otherwise, it returns an errorcode.

Example

char string1[512];

strncpy(string1,"A point is needed.\n\n Please try again.",

sizeof(string1)-1);

sds_alert(string1);

Shows a dialog box with this message:

A point is needed.

Please try again.

Tell me about...

dlg_action_tile

dlg_client_data_tile

dlg_dimensions_tile

dlg_done_dialog

dlg_done_positioned_dialog

dlg_end_image

dlg_end_list

dlg_fill_image

dlg_get_attr

dlg_get_attr_string

dlg_get_tile

dlg_load_dialog

dlg_mode_tile

dlg_new_dialog

dlg_new_positioned_dialog

dlg_set_tile

dlg_slide_image

dlg_start_dialog

dlg_start_image

dlg_start_list

dlg_unload_dialog

Programming Overview of SDS™ (Solutions Development System™)

sds_fail