int MMessageDialog (const char *title, const char *msg, const char *btn1, const char *btn2, ...)

Displays a modal message window

Documentation

Displays a modal message window. This dialog window allows the program to block its flow until the user selects one of the push buttons provided. The buttons are specified using a NULL terminated list of string pointers. At least one button must be specified, so, the argument 'btn1' describes the text of the first button and 'btn2' could be the NULL pointer or a pointer to string for the text of the second button.

Returns:
The return value notifies the calling function which button the user has selected: 0 for the first button, 1 for the second and so on...
Parameters:
title - The text displayed in the window's title bar.
msg - A multi line text string that will be displayed centered in the window.
btn1 - The text displayed in the first button (mandatory, not NULL)
btn2 - The text displayed in the second button (mandatory, may be NULL to terminate a one-button list)

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++