Re: [VGUI] how to avoid to dialog boxes?
From: Joerg Desch <email@example.com>
To: VGUI-discussion <firstname.lastname@example.org>
Date: Wednesday, March 24, 1999 8:31 AM
Subject: Re: [VGUI] how to avoid to dialog boxes?
>> I am a bit confused with the logic, when dialog is closed
>> it is closed and cannot have any activity inside itself (even if the
>> class is not destroyed).
>That is exactly what I want to say. With your method of calling the
>CmdWindow, you assume, that the dialog is still active. What I need is a
>method where the CmdWindow knows that the modeless dialog has been
>closed, and that it can calculate and display the result.
>Normaly I wouldn't close the first (modeless) dialog. I would open a second
>(modal) dialog for displaying the results. But due to the fact that V
>couldn't handle this situation (there are repaint problems with a second
>_modal_ dialog), I want to avoid this!
>Mfg, J. Desch
Now I don't understand why does not trivial method work?
aModalDlg dlg(this, &par);
res = dlg.Action();
} // and dlg does not exist any more!
if (res = M_OK) ...
Best regards, Nikolai