Think Dialog

I have written a program that calculates a report. While the system is
thinking I would like to pop up a dialog and then continue until the
number crushing is done. However it just waits for an input.

dlg2 = wxMessageDialog(self, "Generating Report",
    "Working..." ,wxOK | wxICON_INFORMATION)
dlg2.ShowModal()
createreport()
dlg2.Destroy()

It will not go on to the createreport routine until I press a key. Am I
using the wrong dialog?

I have written a program that calculates a report. While the system is
thinking I would like to pop up a dialog and then continue until the
number crushing is done. However it just waits for an input.

For some reason, I like the way you describe that.

It will not go on to the createreport routine until I press a key. Am I
using the wrong dialog?

You probably want a wxProgressDialog.

Regards,
Cliff

···

On Sat, 2003-08-09 at 11:11, Mike Wagman wrote:

--
Now as the petals are no more
A corroded shrinking stalk remains
                          -Bauhaus

Yes and it works wonderfully!!! Cool

···

On Sat, 2003-08-09 at 14:08, Cliff Wells wrote:

On Sat, 2003-08-09 at 11:11, Mike Wagman wrote:
> I have written a program that calculates a report. While the system is
> thinking I would like to pop up a dialog and then continue until the
> number crushing is done. However it just waits for an input.

For some reason, I like the way you describe that.

> It will not go on to the createreport routine until I press a key. Am I
> using the wrong dialog?

You probably want a wxProgressDialog.

Regards,
Cliff