1 \section{\class{wxProgressDialog
}}\label{wxprogressdialog
}
3 This class represents a dialog that shows a short message and a
4 progress bar. Optionally, it can display an ABORT button.
6 \wxheading{Derived from
}
8 \helpref{wxFrame
}{wxframe
}\\
9 \helpref{wxWindow
}{wxwindow
}\\
10 \helpref{wxEvtHandler
}{wxevthandler
}\\
11 \helpref{wxObject
}{wxobject
}
13 \wxheading{Include files
}
17 \latexignore{\rtfignore{\wxheading{Members
}}}
19 \membersection{wxProgressDialog::wxProgressDialog
}\label{wxprogressdialogconstr
}
21 \func{}{wxProgressDialog
}
22 {\param{const wxString\&
}{title
},
23 \param{const wxString\&
}{message
},
\rtfsp
24 \param{int
}{maximum =
100},
25 \param{wxWindow *
}{parent = NULL
},
\rtfsp
26 \param{bool
}{disableParentOnly = FALSE
},
\rtfsp
27 \param{bool
}{abortButton = FALSE
}
30 Constructor. Creates the dialog, displays it and disables user input
31 for other windows, or, if disableParentOnly = TRUE, for its parent
34 \wxheading{Parameters
}
36 \docparam{title
}{Dialog title to show in titlebar.
}
38 \docparam{message
}{Message displayed above the progress bar.
}
40 \docparam{maximum
}{Maximum value for the progress bar.
}
42 \docparam{parent
}{Parent window.
}
44 \docparam{message
}{Message to show on the dialog.
}
46 \docparam{disableParentOnly
}{By default, the dialog disables user
47 input for all other top level windows. If this parameter is TRUE, it
48 will only disable the window passes as parent.
}
50 \docparam{abortButton
}{If TRUE, will display an ABORT button.
}
52 \membersection{wxProgressDialog::
\destruct{wxProgressDialog
}}
54 \func{}{\destruct{wxMessageDialog
}}{\void}
56 Deletes the dialog and enables all top level windows.
58 \membersection{wxProgressDialog::Update
}\label{wxprogressdialogupdate
}
61 \param{int
}{value = -
1},
\rtfsp
62 \param{const char *
}{newmsg = NULL
},
}
64 Updates the dialog, setting the progress bar to the new value and, if
65 given exchanges the message above it. Returns TRUE if the ABORT button
66 has
\emph{not
} been pressed.
69 \membersection{wxProgressDialog::Resume
}\label{wxprogressdialogresume
}
71 \func{void
}{Resume
}{\void}
72 Can be used to continue with the dialog, after the user had chosen