Dialog positions

This forum is for eXpress++ general support.
Post Reply
Message
Author
Wolfgang Ciriack
Posts: 484
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Dialog positions

#1 Post by Wolfgang Ciriack »

Hello,
when i open my main dialog on a second monitor, how can i force the other dialogs to open centered on the same monitor ?
When i no open a dialog, it is always opened on monitor 1.
_______________________
Best Regards
Wolfgang

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Dialog positions

#2 Post by rdonnay »

Try this:

DC_CenterObject( oDialog2, oDialog1 )
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 484
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Dialog positions

#3 Post by Wolfgang Ciriack »

Hi Roger,
yes, i do this now. But some functions like DC_GuiAlert, dc_WaitOn are still araising on the first monitor.
_______________________
Best Regards
Wolfgang

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Dialog positions

#4 Post by rdonnay »

I think that I can add some code to these functions to fix this problem.
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 484
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Dialog positions

#5 Post by Wolfgang Ciriack »

Hi Roger,
that would be nice.
_______________________
Best Regards
Wolfgang

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Dialog positions

#6 Post by rdonnay »

Here are the fixes.

The dialogs will be centered in their OWNER.
The OWNER defaults to SetAppWindow().

Copy the files to \exp19\source\dclipx and rebuild dclipx.dll by running build19_sl1.bat

This fix will be in build 258.
Attachments
center.zip
(25.72 KiB) Downloaded 644 times
The eXpress train is coming - and it has more cars.

Post Reply