Windows 11 Double Monitor problem

Xbase++ 2.0 Build 554 or later
Post Reply
Message
Author
User avatar
rdonnay
Site Admin
Posts: 4828
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Windows 11 Double Monitor problem

#1 Post by rdonnay »

Hello,

sorry to bother you, is there a fix for the windows 11 double monitor problem ?

i have windows 11 and 2 monitors (extended), before a major update to windows 11 all my applications worked ok.

When i drag the application from the main monitor to sacondary, all other secondary windows from program opened on the second monitor.

Now after an windows 11 update, all the secondary windows open on the primay monitor.

When using the setposition(setpos) in EVAL, the window blinks on the primary monitor and is then relocated to the secondary monitor wich is anoing

Thank you for your reply

Best regards
Martin
The eXpress train is coming - and it has more cars.

k-insis
Posts: 132
Joined: Fri Jan 28, 2011 4:07 am

Re: Windows 11 Double Monitor problem

#2 Post by k-insis »

A update to Martin Question

Not full solution, but fixed 'windows blinks' by using HIDE in dcgetoptions
then repositioning window and displaying it again.

DCGETOPTIONS HIDE
DCREAD GUI TITLE "Some Window Title" FIT ;
OPTIONS GetOptions;
ENTEREXIT ;
EVAL {|o| o:SetPos(CalculateIdealPos(o), o:Show()} ;
MODAL ;
ADDBUTTONS TO lDidYouConfirm


rdonnay wrote: Mon Apr 07, 2025 7:38 am Hello,

sorry to bother you, is there a fix for the windows 11 double monitor problem ?

i have windows 11 and 2 monitors (extended), before a major update to windows 11 all my applications worked ok.

When i drag the application from the main monitor to sacondary, all other secondary windows from program opened on the second monitor.

Now after an windows 11 update, all the secondary windows open on the primay monitor.

When using the setposition(setpos) in EVAL, the window blinks on the primary monitor and is then relocated to the secondary monitor wich is anoing

Thank you for your reply

Best regards
Martin

Post Reply