Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to remove dialog boxes


2 replies to this topic

vishwa

vishwa
  • Full Members
  • 63 posts

Posted 08 May 2003 - 16:56

I have a MessageBox asking if the user wants to copy some files. If he selects yes, he is shown a dialog box where he can select file locations(AskDestPath). If he presses the BACK button to see the MessageBox again, the MessageBox appears on top of the AskDestPath dialog. Also, when operations are being done, this dialog appears until it is replaced by some other dialog box.

Is there any way to make the AskDestPath dialog disappear when the back button is pressed?

Thanks,
Vishwa

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 08 May 2003 - 17:12

The whole operation of the setup wizard is controlled under the OnFirstUIBefore event.

Therefore just add a variable to determine whether or not you've displayed AskDestPath and/or change the behavior of the the next dialog when the result is on back.
user posted image

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 May 2003 - 14:08

You may also want to call
Disable(DIALOGCACHE);
to remove the dismissed dialog box from the screen.