You are here: PSPad forum > Bug report / Hlášení chyb > Using Multiple Displays

Using Multiple Displays

Goto Page: 1 2 3 Next

#1 Using Multiple Displays

Posted by: kamuz | Date: 11/14/2014 16:25 | IP: IP Logged

Hello!

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 winking smiley

Edited 1 time(s). Last edit at 11/14/2014 16:29 by kamuz.

Options: Reply | Quote | Up ^


#2 Re: Using Multiple Displays

Posted by: pspad | Date: 11/14/2014 17:22 | IP: IP Logged

PSPad doesn't create "own" taskbar button. Taskbar button is handled by operating system.

Options: Reply | Quote | Up ^


#3 Re: Using Multiple Displays

Posted by: kamuz | Date: 11/14/2014 19: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? smiling smiley

Options: Reply | Quote | Up ^


#4 Re: Using Multiple Displays

Posted by: Freeman | Date: 11/15/2014 19:54 | IP: IP Logged

This is Delphi VCL issue, I think. smiling smiley

Options: Reply | Quote | Up ^


#5 Re: Using Multiple Displays

Posted by: pspad | Date: 11/17/2014 12: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.

Options: Reply | Quote | Up ^


#6 Re: Using Multiple Displays

Posted by: sasumner | Date: 11/18/2014 13: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).

Options: Reply | Quote | Up ^


#7 Re: Using Multiple Displays

Posted by: kamuz | Date: 03/19/2015 18: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.

Options: Reply | Quote | Up ^


#8 Re: Using Multiple Displays

Posted by: Freeman | Date: 03/19/2015 19: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.

Options: Reply | Quote | Up ^


#9 Re: Using Multiple Displays

Posted by: Freeman | Date: 03/21/2015 22: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)
protected
procedure WMWindowPosChanged(var Msg: TWMWindowPosChanged); message WM_WINDOWPOSCHANGED;
end;

procedure TMainForm.WMWindowPosChanged(var Msg: TWMWindowPosChanged);
begin
inherited;
if not (csLoading in ComponentState) then
with Msg.WindowPos^ do
MoveWindow(Application.Handle, x, y, cx, cy, True);
end;

Options: Reply | Quote | Up ^


#10 Re: Using Multiple Displays

Posted by: pspad | Date: 03/24/2015 07: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.

Options: Reply | Quote | Up ^


Goto Page: 1 2 3 Next





Editor PSPad - freeware editor, © 2001 - 2017 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák