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

Re: Using Multiple Displays

Goto Page: Previous1 2 3

#21 Re: Using Multiple Displays

Posted by: CieraBrier | Date: 02/01/2017 00:11 | IP: IP Logged

Freeman:
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;

Edited 1 time(s). Last edit at 02/06/2017 08:34 by pspad.

Options: Reply | Quote | Up ^


#22 Re: Using Multiple Displays

Posted by: pspad | Date: 02/06/2017 08:47 | IP: IP Logged

CieraBrier:
Freeman:
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;

This caused wrong Window border on Windows 10

Options: Reply | Quote | Up ^


#23 Re: Using Multiple Displays

Posted by: Sharoun | Date: 02/10/2017 22:17 | IP: IP Logged

Maya21:
sasumner:
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 thisadele weight loss review 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).

This happen to me one (although i came back from a party)

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3





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