1999-07-10 21:17:24 +00:00
|
|
|
\section{\class{wxBusyInfo}}\label{wxbusyinfo}
|
|
|
|
|
|
|
|
This class makes it easy to tell your user that the program is temporarily busy.
|
|
|
|
Just create a wxBusyInfo object on the stack, and within the current scope,
|
|
|
|
a message window will be shown.
|
|
|
|
|
|
|
|
For example:
|
|
|
|
|
|
|
|
\begin{verbatim}
|
|
|
|
wxBusyInfo wait("Please wait, working...");
|
|
|
|
|
|
|
|
for (int i = 0; i < 100000; i++)
|
|
|
|
DoACalculation();
|
|
|
|
\end{verbatim}
|
|
|
|
|
|
|
|
It works by creating a window in the constructor,
|
|
|
|
and deleting it in the destructor.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/busyinfo.h>
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
\membersection{wxBusyInfo::wxBusyInfo}
|
|
|
|
|
|
|
|
\func{}{wxBusyInfo}{\param{const wxString\&}{ msg}}
|
|
|
|
|
1999-08-05 22:05:15 +00:00
|
|
|
Constructs a busy info object, displays {\it msg}.
|
1999-07-10 21:17:24 +00:00
|
|
|
|