Posted by: kamuz | Date: 2014-11-14 15:25 | IP: IP Logged
When working with multiple displays, the taskbar button always keep placed on main display, even if moving the program to secondary monitor...
It would be really fine to fix it
Edited 1 time(s). Last edit at 2014-11-14 15:29 by kamuz.
Posted by: pspad | Date: 2014-11-14 16:22 | IP: IP Logged
PSPad doesn't create "own" taskbar button. Taskbar button is handled by operating system.
Posted by: kamuz | Date: 2014-11-14 18:10 | IP: IP Logged
I understand, but I figured it out just on PSPad. Other programs change the taskbar along with changing the main window between monitors. Maybe it's a program property to review?
Posted by: Freeman | Date: 2014-11-15 18:54 | IP: IP Logged
This is Delphi VCL issue, I think.
Posted by: pspad | Date: 2014-11-17 11:24 | IP: IP Logged
I am afraid there will be more influences at once include Delphi VCL. I make some research and found problems with multiple monitor and taskbar in Windows 8 itself.
I will try to find some solution.
Posted by: sasumner | Date: 2014-11-18 12:02 | IP: IP Logged
I noticed a multiple displays issue recently regarding what appears on which screen; maybe it is a known issue. I am using pspad 4.5.9 (2512).
At my desk I have a two-external-monitor setup with a notebook PC in a docking station; I keep the notebook's lid closed so that its screen isn't used. I run pspad's main window on the secondary monitor (the one without the Win7 taskbar at the bottom). This is the normal situation and all is good.
When I undock my PC and use it with its single screen, pspad's main window will "move" there after undocking (this is correct). When I do a replace the find/replace dialog comes up fine and I enter my search and replace text, but if I check the Prompt on Replace checkbox (as I usually do), the prompt dialog that should show upon each find match is not visible. I can still press Y or N (or Esc) for each found match, so I think the prompt dialog is actually there, it is just still on the second screen (which isn't there at this point).
Posted by: kamuz | Date: 2015-03-19 17:40 | IP: IP Logged
Just updated to 4.5.9 and remains with the same issue.
Open PSPad and move main window to secondary monitor and icon on taskbar does not follows window.
Posted by: Freeman | Date: 2015-03-19 18:55 | IP: IP Logged
pspad:I will try to find some solution.
Probably it would be enough set window origin/bounds from Application.MainForm to hidden Application.Handle, on every Application.MainForm move.
Posted by: Freeman | Date: 2015-03-21 21:35 | IP: IP Logged
kamuz:Open PSPad and move main window to secondary monitor and icon on taskbar does not follows window.
Jan, I wrote small sample, but cannot test it, because I have only one monitor:
TMainForm = class(TForm)
procedure WMWindowPosChanged(var Msg: TWMWindowPosChanged); message WM_WINDOWPOSCHANGED;
procedure TMainForm.WMWindowPosChanged(var Msg: TWMWindowPosChanged);
if not (csLoading in ComponentState) then
with Msg.WindowPos^ do
MoveWindow(Application.Handle, x, y, cx, cy, True);
Posted by: pspad | Date: 2015-03-24 06:18 | IP: IP Logged
Freeman:Jan, I wrote small sample, but cannot test it, because I have only one monitor:
Thank you. I will find any second monitor and I will test it.