9 Commits

Author SHA1 Message Date
Jordan Russell
0b99e785a1
Ensure all TSetupForms have a taskbar button when main form hasn't been created or is invisible. 2025-01-11 04:49:38 -06:00
Jordan Russell
974b25887e
Add AppCreateForm wrapper function. 2025-01-02 03:46:28 -06:00
Jordan Russell
dacb18be97
GetOwnerWndForMessageBox: Check root owner window. 2024-12-29 04:40:59 -06:00
Jordan Russell
a81d7d6a58
Don't use MB_TASKMODAL when MainFormOnTaskBar=True. 2024-12-26 00:01:57 -06:00
Jordan Russell
0a0d827d34
Show message box with no owner when would-be owner form is hidden.
Needed when AppMessageBox is called after WizardForm.Hide.
2024-12-18 01:21:57 -06:00
Jordan Russell
ee956ccbb6
Unminimize before displaying message boxes and task dialogs.
Now that MainFormOnTaskBar=True, Application.Restore doesn't steal the foreground anymore.
2024-12-16 02:00:00 -06:00
Jordan Russell
8c2d9acb27
Comments. 2024-12-11 03:59:14 -06:00
Jordan Russell
72dd250bb1
IDE: Use proper owner on message boxes.
AppMessageBox wasn't compatible with MainFormOnTaskBar=True; it displayed every message box with no owner.

Also found that the VCL doesn't set the owner correctly on dialogs displayed when the app isn't in the foreground. Workaround implemented.

Left the IsIconic call (from #164) in for now, though I don't think it's needed anymore in the IDE as long as message boxes use the main form as their owner. It may still be needed by Setup; haven't yet checked.
2024-12-08 04:50:44 -06:00
Martijn Laan
b50e481790
A few more renames. 2024-08-04 21:22:03 +02:00