Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Dialog class. More...
#include <ilviews/gadgets/stdialog.h>
Public Member Functions | |
IlvIQuestionDialog (IlvDisplay *display, const char *const *strings, IlUShort count, IlBoolean copy=IlTrue, const char *fileordata=0, IlvIDialogType type=IlvDialogOkCancel, IlvSystemView transientFor=0) | |
Constructor. | |
IlvIQuestionDialog (IlvDisplay *display, const char *title, const char *fileordata=0, IlvIDialogType type=IlvDialogOkCancel, IlvSystemView transientFor=0) | |
Constructor. |
Dialog class.
Library: ilvgadgt
The IlvIQuestionDialog
class displays a question, and expects a yes or no answer. The names of the graphic objects are displayed to let you change the default look of the dialog.
- A Question Dialog -
IlvIQuestionDialog::IlvIQuestionDialog | ( | IlvDisplay * | display, | |
const char * | title, | |||
const char * | fileordata = 0 , |
|||
IlvIDialogType | type = IlvDialogOkCancel , |
|||
IlvSystemView | transientFor = 0 | |||
) |
Constructor.
Initializes a new instance of the IlvIQuestionDialog
class.
display | The connection to the display. | |
title | The message to be displayed. | |
fileordata | Specifies an alternative source of Rogue Wave Views data defining the user interface of this dialog. This data can be stored in a file, in which case fileordata represents the name of the file, or in a C++ string, in which case fileordata stands for the string itself. If fileordata is not specified, the default dialog is used. | |
type | The type of the dialog. For details, see IlvIDialogType . | |
transientFor | The system view for which the dialog is transient. For details,see the IlvView constructors. |
IlvIQuestionDialog::IlvIQuestionDialog | ( | IlvDisplay * | display, | |
const char *const * | strings, | |||
IlUShort | count, | |||
IlBoolean | copy = IlTrue , |
|||
const char * | fileordata = 0 , |
|||
IlvIDialogType | type = IlvDialogOkCancel , |
|||
IlvSystemView | transientFor = 0 | |||
) |
Constructor.
Initializes a new instance of the IlvIQuestionDialog
class.
display | The connection to the display. | |
strings | An array of strings representing the message to be displayed. | |
count | The number of elements in the strings array. | |
copy | Not used. | |
fileordata | Specifies an alternative source of Rogue Wave Views data defining the user interface of this dialog. This data can be stored in a file, in which case fileordata represents the name of the file, or in a C++ string, in which case fileordata stands for the string itself. If fileordata is not specified, the default dialog is used. | |
type | The type of the dialog. For details,see IlvIDialogType . | |
transientFor | The system view for which the dialog is transient. For details, see the IlvView constructors. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.