Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXProgressDialog Class Reference

#include <FXProgressDialog.h>

Inheritance diagram for FXProgressDialog:

FXDialogBox FXTopWindow FXShell FXComposite FXWindow FXDrawable FXId FXObject List of all members.

Public Methods

 FXProgressDialog (FXWindow *owner, const FXString &caption, const FXString &label, FXuint opts=PROGRESSDIALOG_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
 Construct input dialog box with given caption, icon, and prompt text.

void setMessage (const FXString &msg)
 Change the progress message.

void setProgress (FXuint value)
 Change the amount of progress.

FXuint getProgress () const
 Get current progress.

void setTotal (FXuint value)
 Set total amount of progress.

FXuint getTotal () const
 Return total amount of progrss.

void increment (FXuint value)
 Increment progress by given amount.

FXbool isCancelled () const
 Has operation been cancelled?

virtual ~FXProgressDialog ()
 Destroy.


Public Attributes

FXString getMessage () const
 Get progress message.


Detailed Description

A Progress Dialog is a simple dialog which is used to keep a user informed of the progress of a lengthy operation in a program and that the program is in fact still working.