Contents Up Previous Next

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:

  wxBusyInfo wait("Please wait, working...");

  for (int i = 0; i < 100000; i++)
    DoACalculation();
It works by creating a window in the constructor, and deleting it in the destructor.

Derived from

None

Include files

<wx/busyinfo.h>

Members

wxBusyInfo::wxBusyInfo


wxBusyInfo::wxBusyInfo

wxBusyInfo(const wxString& msg)

Constructs a busy info object, displays msg.