Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?
|
Multi Monitor Display problem
mar_kus - May 13, 2009 - 5:41am
Hi,
in reply to this topic (replying isn't possible any more, i think because the post is too old) ... :
http://portableapps.com/node/4682
I have two monitors, and my taskbar is on the secondary monitor. clicking on portable apps taskbar icon, portable apps shows up on the primary monitor.
Delphi fully supports dual monitor setups so it should be no problem to fix this!
Example:
{get index of monitor with taskbar on it}
function GetMonitorWithTaskBarIndex: Integer;
var
I: Integer;
WorkArea: TRect;
AllMonitor: TRect;
begin
Result := 0;
for I := 0 to Screen.MonitorCount - 1 do
begin
WorkArea := Screen.Monitors[I].WorkareaRect;
AllMonitor := Screen.Monitors[I].BoundsRect;
if ((WorkArea.Right - WorkArea.Left) < (AllMonitor.Right - AllMonitor.Left))
or ((WorkArea.Bottom - WorkArea.Top) < (AllMonitor.Bottom - AllMonitor.Top)) then
begin
Result := I;
break;
end;
end;
end;
|
*push*same problem here!I
*push*
same problem here!
I have 2 Monitors,
the primary 24" - right handed - gaming (fullscreen)
the secondary 22" - left handed - taskbar etc.
when i start Portable Apps, the PAM will open on the primary screen, because the Shortcut is on the taskbar (left screen) so i have to move the cursor to the other screen
its a poor user experience
an option, where the pam appears, if MM is detected could be very helpful!
// sry for my bad english, im kraut ^^