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.
Dialog positions
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Dialog positions
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Dialog positions
Try this:
DC_CenterObject( oDialog2, oDialog1 )
DC_CenterObject( oDialog2, oDialog1 )
The eXpress train is coming - and it has more cars.
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Dialog positions
Hi Roger,
yes, i do this now. But some functions like DC_GuiAlert, dc_WaitOn are still araising on the first monitor.
yes, i do this now. But some functions like DC_GuiAlert, dc_WaitOn are still araising on the first monitor.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Dialog positions
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.
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Dialog positions
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.
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 643 times
The eXpress train is coming - and it has more cars.