PDA

View Full Version : Setting dialogs to the foreground



SMarchiano
10-15-2003, 03:01 PM
Hi,

I'm trying to write the installer for my project that so that the initial installation screen (e.g. SdWelcome) is brought to the foreground, but other screens, such as the exit dialog that comes up when you click on the 'Cancel' button, are placed on top of it if necessary. I changed the Windows style for the SdWelcome dialog box so that the DS_SETFOREGROUND box is checked, so it is brought to the front of the screen when the installation starts. However, if I then click the 'Cancel' button, the Exit question dialog appears behind the SdWelcome dialog. I would really appreciate it if someone could find a way for me to get around this problem. Thank you very much for all of your help.

-SM