As a two-monitor user at work, I've noticed that applications behave differently with regards to what monitor they open on (primary or secondary monitor, the last monitor the application opened on, and so on). To be honest, some applications annoy me because I want them to open on my primary monitor and I'll move them to my secondary if I want them there. However, these applications are done and out of my control, so I want to ask about my own applications that might be run by people using two monitors.
What kinds of controls are available to either allow people to specify which monitor your application opens on, allow an application to "remember" the monitor it was on when it was closed and reopen there, and to force the application to start on a specific monitor?
I'm looking for solutions across all operating systems and programming languages, although I'm guessing that different OSes and languages will have different controls.
Related Questions
- What determines the monitor my app runs on? This question discusses existing applications and how they decide what monitor to run on. The currently accepted answer provides Windows functions that can be used to control the positioning of an app on start-up.
- Start program on second monitor? provides some Delphi solutions for forcing an application to start on a particular monitor.