Skip to content
Snippets Groups Projects
Commit e4e29b2a authored by rswindell's avatar rswindell
Browse files

Bring the configuration wizard to the front of the desktop automatically.

parent 495a1912
Branches
Tags
No related merge requests found
......@@ -135,6 +135,8 @@ void __fastcall TConfigWizard::FormShow(TObject *Sender)
int i;
int status;
Application->BringToFront();
memset(&scfg,0,sizeof(scfg));
SAFECOPY(scfg.ctrl_dir,MainForm->CtrlDirectory.c_str());
scfg.size=sizeof(scfg);
......
......@@ -1630,6 +1630,7 @@ void __fastcall TMainForm::StartupTimerTick(TObject *Sender)
}
if(FirstRun) {
Application->BringToFront();
Sleep(3000); // Let 'em see the logo for a bit
BBSConfigWizardMenuItemClick(Sender);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment