Different dialog opening position behavior when starting from explorer vs. command line

S

Sven 809

Hello,we have noticed a problematic difference in the automatic positioning of modal dialogs in our Windows application when using multiple monitors:When our application was started from cmd.exe, PowerShell or a different application, a modal dialog is automatically opened on the same monitor as the application's main window.When our application was started from the Explorer, a modal dialog is always opened on the same monitor, regardless of where the application's main window is.Down here, you can see the relevant code from a .NET WPF application where this problem happens: &

Continue reading...
 

Similar threads

A
Replies
0
Views
83
Adam Gritt
A
A
Replies
0
Views
57
Amanda Langowski
A
A
Replies
0
Views
19
Amanda Langowski
A
A
Replies
0
Views
48
Amanda Langowski
A
Back
Top Bottom