PeterPanettone 157 Posted November 11, 2023 (edited) Delphi 12 (and previous versions) has a beneficial feature: It is possible to place Tool Panels on a secondary monitor, which is GREAT for productivity. But sometimes, these Tool Panels on the secondary monitor are hidden behind other windows. So, there should be an option to have those Tool Panels show a Taskbar icon when they are located on a secondary monitor. This would allow the user to click a Toolbar icon on the secondary monitor's Taskbar to bring the respective Tool Panel to the foreground. This code shows the icon of a secondary form on the Taskbar: protected procedure CreateParams(var Params : TCreateParams); override; // must be in 'protected' section! implementation procedure TBDSForm.CreateParams(var Params : TCreateParams); // implementation of CreateParams begin inherited CreateParams(Params); // Don't ever forget to do this!!! // This window is displayed as a separate icon in the taskbar: Params.WndParent := Winapi.Windows.GetDesktopWindow; // set this form independent from Main Form end; Would it be possible to implement this as an IDE plugin? Edited November 12, 2023 by PeterPanettone Share this post Link to post
PeterPanettone 157 Posted November 12, 2023 (edited) Well, clicking the IDE on the main monitor or clicking the IDE's taskbar icon on the main monitor's taskbar most often also brings the Tool Panels on the secondary monitor to the foreground. Edited November 12, 2023 by PeterPanettone Share this post Link to post
dummzeuch 1505 Posted November 12, 2023 GExperts -> Add Dock Window does this But these Windows are not stored in the Desktop settings. Share this post Link to post