rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

dialogs.h File Reference

#include <ilviews/ilv.h>
#include <ilviews/base/view.h>

Classes

class  IlvFileSelector
 File selector system dialog. More...
class  IlvInformationDialog
 System dialog box class. More...
class  IlvPromptDialog
 String entry dialog. More...
class  IlvQuestionDialog
 A system dialog box that asks a question. More...

Typedefs

typedef void(* IlvDialogCallback )(IlvInformationDialog *dialog, IlBoolean result, IlAny userArg)

Enumerations

enum  IlvDialogStyle { IlvDialogStyleQuestion, IlvDialogStyleInformation, IlvDialogStyleWarning }
 

The different types of IlvInformationDialog.

More...
enum  IlvFileSelectorType { IlvFileSelectorLoad, IlvFileSelectorSave }
 

The different types of dialog boxes that are created by the class IlvFileSelector.

More...

Detailed Description

[library display ilviews/util/dialogs.h] Declaration of the system dialog classes.


Typedef Documentation

This type defines the prototype of the functions that are used as callbacks by the class IlvInformationDialog.

Parameters:
dialog The instance of the dialog that triggers this callback.
result Set to IlTrue if the user pressed the OK button to close the dialog, and IlFalse if the Cancel button was used.
userArg The user parameter that was provided in the constructor of IlvInformationDialog.

Enumeration Type Documentation

The different types of IlvInformationDialog.

The class IlvInformationDialog can handle different sorts of dialog boxes. This type indicates which one is currently used.

Enumerator:
IlvDialogStyleQuestion 

The IlvInformationDialog displays a message and a large question mark icon. The user can provide a positive or a negative answer.

IlvInformationDialogQ.png


- An IlvInformationDialog with the IlvDialogStyleQuestion style on a Windows platform -

IlvDialogStyleInformation 

The IlvInformationDialog displays a message and a large icon that indicates an information item. This dialog is generally used to show important but nonblocking information. The user can respond by pressing an OK or Cancel button.

IlvInformationDialogI.png


- An IlvInformationDialog with the IlvDialogStyleInformation style on a Windows platform -

IlvDialogStyleWarning 

The IlvInformationDialog displays a message and a large icon that indicates a warning or an error. It is used to show blocking information, such as a task that could not be performed or that would be dangerous.

IlvInformationDialogW.png


- An IlvInformationDialog with the IlvDialogStyleWarning style on a Windows platform -

The different types of dialog boxes that are created by the class IlvFileSelector.

Enumerator:
IlvFileSelectorLoad 

The dialog box is created in order to load a file. You are not able to select a file that does not exist.

IlvFileSelectorSave 

The dialog box is created in order to save a file. Any valid file name can be chosen, in an existing directory.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© 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.