How can I allow that users can drag my application to another monitor when it's maximized if they are using 2 monitors? The application needs to resize to fit the other monitor when the user has dragged it.
feedback
|
migrated from stackoverflow.com Apr 23 '11 at 8:24
This question came from our site for professional and enthusiast programmers.
closed as off topic by random♦ Jun 13 '11 at 1:10
Questions on Super User are expected to generally relate to computer software or computer hardware, within the scope defined in the faq.
|
On most versions of Windows, maximised windows cannot be dragged. You have to normalise, drag and then maximise. In Windows 7 you can use the Windows + shift + arrow keys to move maximised windows to other monitors. They resize automatically. On older systems you could consider adding items to the system menu to offer such functionality but I would not recommend it since this really is a job for the system's window manager rather than individual apps. | |||||||||||||||||||
feedback
|
|
If I'm not mistaken, Marijn is asking this question from the perspective of a developer (i.e. "Do I need to modify my program to allow users to drag the program's window, if maximised, between monitors?") not from the perspective of a user ("Can I drag maximised windows between monitors?"). Marijn, I don't believe you need to modify your program. Windows itself will handle the matter of letting your program's window be dragged between monitors. Some versions of Windows, e.g. XP, might not allow that to happen while the window is maximised, but this is in keeping with the UI norms on those versions of Windows and therefore will fit user expectations. Be happy: you can relax :) | |||||
feedback
|
