How to make a window open in a specific monitor

  • 1
  • Question
  • Updated 5 years ago
This is a  computer question rather than a SDR but we have a lot of computers gurus here so here goes.
Several windows or sub windows persist in opening in my primary monitor.
for instance, i run smartsdr on my middle (of 3) monitor.  It opens there all the time but when I open  profile manager in insists on opening in the primary.
I am sure there is a way to do this but it has me baffled.
Photo of Gene - K3GC

Gene - K3GC

  • 251 Posts
  • 63 Reply Likes

Posted 5 years ago

  • 1
Photo of Terry K8EET

Terry K8EET

  • 125 Posts
  • 15 Reply Likes
Gene go to the control panel >Display> Change Display Settings
Photo of Steve W6SDM

Steve W6SDM

  • 625 Posts
  • 283 Reply Likes
Good luck... I am in pretty much the same boat here.  With WIndows 7, a lot of the code that kept icons and windows in the same place after a re-boot went away.  Some programs are hard coded to open in the same exact spot, usually the middle of the main screen, each time no matter what.  I haven't found a way to change those, FLDigi being one of them which seems to open in the upper left corner each time.

You can try holding the shift key and then exiting the window with the X.  On some programs, that will put it back to where it was when you closed it.  There are also some add on utilities like ShellFolderFix that will put things back were they were when you restarted, or at least an hour before you restarted.

I use Display Fusion to manage multiple monitors.  It has a routine that saves your icon positions but you have to reload your profile each time.

I am all ears if someone has found something better.
Photo of Ernest - W4EG

Ernest - W4EG

  • 623 Posts
  • 122 Reply Likes
The selection is on the same page that you select which is primary monitor etc... there you indicate by your choice what monitor is the primary one...
Follow Terry instructions to get to the display...
Photo of Roy - W5TKZ

Roy - W5TKZ

  • 141 Posts
  • 17 Reply Likes
Gene,

You did not indicate your operating system so I will assume you are using Windows.
The placement of the programs on the monitors is controlled by the Windows OS. I have a 2 monitor system and I display SSDR on monitor 2. Windows remembers my placement through reboot. SSDR will always open on monitor 2 unless I have moved SSDR display to monitor 1 and then close out SSDR. 

With SSDR running on monitor 2 and If I open Profile Manager for the first time since reboot, it will open in my main monitor (1). I can then move the Profile Manager to my 2nd monitor and it will stay there even if I close out the window and then reopen it. However, should I close out SSDR and then reopen it, I will find it has reverted to the SSDR default which is the main monitor. In other words, SSDR does not remember sub-window placement between reboots. The only answer that I can see to your question is to never turn off the computer or never reboot.
       
Photo of DrTeeth

DrTeeth

  • 1687 Posts
  • 389 Reply Likes
Windows 7 is a PITA when it comes to opening windows where and how they were closed. I use a utility called WindowManager http://www.desksoft.com/WindowManager.htm which helps a great deal. Helps with other versions but never needed it.

A virtual desktop solution http://www.dexpot.de/ may help as well.
Photo of Steve W6SDM

Steve W6SDM

  • 625 Posts
  • 283 Reply Likes
Guy,

Thanks for the lead on WIndowManager.  It seems to be better than what I am using to retain window positions - and at ten bucks, the price is right too.
Photo of DrTeeth

DrTeeth

  • 1687 Posts
  • 389 Reply Likes
You're welcome. The developer is very responsive and friendly. At some point in the future, you will find a window not working as expected and I guarantee you will forget WindowManager (just set that window to 'ignore') - the number of times I have forgotten that <blush>.
(Edited)
Photo of Richard Clafton W4/G7EIX

Richard Clafton W4/G7EIX, Elmer

  • 455 Posts
  • 117 Reply Likes

In code it's quite easy.....

https://msdn.microsoft.com/en-us/library/system.windows.forms.screen(v=vs.110).aspx

You could write something in Powershell or VbScript or VB or C# to look for the name of your process (say SmartSDR.EXE) and then move it to which ever screen you wish.

Here is a thread discussing such a method.

http://stackoverflow.com/questions/3750113/launch-an-application-and-send-it-to-second-monitor

Regards

Richard W4/G7EIX

Photo of Nick - W2NER

Nick - W2NER

  • 92 Posts
  • 23 Reply Likes
Strange. I run two monitors and SSDR comes up on the same monitor every time (not the primary which at one time it did).  Even IE and other apps like HRD comes up in the same place it was.  I must have something special windows 7.. ;-)
Photo of Steve W6SDM

Steve W6SDM

  • 625 Posts
  • 283 Reply Likes
Nick, no, I don't think so.  I have had programs that always opened where they should and I have had some that insist on opening in the same place each time even though I move them somewhere else.  I have others that open wherever they were before a restart.  A lot has to do with the way the individual program is coded.  Windows positions can also be influenced by the graphics divers.  Besides a DVI and VGA port, I am using three USB port monitors and those can add to the problem.
Photo of Nick - W2NER

Nick - W2NER

  • 92 Posts
  • 23 Reply Likes
I run windows 7 on a dedicated Apple MiniMac via bootcamp all the time (I only boot into the Mac OS when I need to back it up..  Works fantastic and the smallest foot print around... The apple wireless keyboard I love, small and works great too.  I use an IMAC 27 for my day to day stuff. 
(Edited)
Photo of Jay / NO5J

Jay / NO5J

  • 1674 Posts
  • 263 Reply Likes
I use AutoIt to not only automate the startup of various apps I use, but also to position and size those apps after they are started. It allows 1 click startup of SmartSDR, DDutil Dxlabs, Fldigi, the Fldigi Dxlabs gateway, when the AutoIt script starts it places itself in the  system tray and triggers as each app opens it stays in the tray and ultimately also closes those same apps when the session is done It currently closes everything it opens whenever it sees SmartSDR close. It might be worth looking into.