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

Control panel now minimizes to the system tray (if so configured) during

startup if the application is not active (indicating started as minimized).
parent 0e36004d
No related branches found
No related tags found
No related merge requests found
......@@ -1717,6 +1717,9 @@ void __fastcall TMainForm::StartupTimerTick(TObject *Sender)
Initialized=true;
UpTimer->Enabled=true; /* Start updating the status bar */
if(!Application->Active) /* Starting up minimized? */
FormMinimize(Sender); /* Put icon in systray */
}
//---------------------------------------------------------------------------
void __fastcall TMainForm::SaveSettings(TObject* Sender)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment