View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005957 | JEDI Code Library | JclSysInfo | public | 2012-08-17 10:28 | 2024-01-02 22:37 |
Reporter | ZENsan | Assigned To | AHUser | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | won't fix | ||
Platform | Windows | OS | Windows 7 | OS Version | |
Product Version | Version 2.4 | ||||
Target Version | Fixed in Version | ||||
Summary | 0005957: IsMainAppWindow returns False for main windows in MDI application. | ||||
Description | IsMainAppWindow returns False for main windows in MDI application. | ||||
Tags | No tags attached. | ||||
Fixed in GIT commit | |||||
Fixed in SVN revision | |||||
IDE version | All | ||||
|
The IsMainAppWindow function doesn't return True for the "MainWindow". It returns True only for the Main-App-Window ("App" is the keyword here). And that is the "TApplication" window in Delphi unless you set "Application.MainFormOnTaskbar := True;". Without it your MDI form is a child of the TApplication window and IsMainAppWindow returns False. Hierarchie with Application.MainFormOnTaskbar=False (older Delphi versions and old Projects where the True value was not set in the *.dpr file) - TApplication (Parent = Desktop) - TMainForm (Parent = TApplication) Hierarchie with Application.MainFormOnTaskbar=True - TApplication (Parent = Desktop) - TMainForm (Parent = Desktop) |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-08-17 10:28 | ZENsan | New Issue | |
2012-08-17 10:28 | ZENsan | IDE version | => All |
2024-01-02 22:37 | AHUser | Assigned To | => AHUser |
2024-01-02 22:37 | AHUser | Status | new => resolved |
2024-01-02 22:37 | AHUser | Resolution | open => won't fix |
2024-01-02 22:37 | AHUser | Note Added: 0022070 |