How to to slect opened window on specific monitor in multi monitor system

Hi,
I have four monitor attached to my box. I have already implemented code to move selected window on given monitor on hokey. e.g window1 is opened on monitor one and if that window is active then using hot key i am moving it to specified monitor like Ctrl+1
move to monitor 1, Ctrl + 2 move to monitor 2 ..so on..
Now i want to implement another hot key, which will activate the window opened on specified monitor. means if i press Alt +1 then if any window is on the monitor should get active and if i press alt + 3 then if any window is there on monitor 3 should
get activated.So how to achieve this?
H
Vipul Mistry Sr. Embedded Engineer www.eInfochips.com

Hi Vipul,
>>I have already implemented code to move selected window on given monitor on hokey
I'm not sure which way you have used to accomplish this feature, in my experience, we can use Screen class to handle multiple display devices:
https://msdn.microsoft.com/en-us/library/System.Windows.Forms.Screen(v=vs.110).aspx
By using
Screen.AllScreens property, we can get an array of all displays on the system, then Screen.WorkingArea can help us to determine on which display the window is showing.
This previous case is also helpful:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/5d181304-8952-4663-8c3c-dc4d986aa8dd/dual-screen-application-and-wpf?forum=wpf
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to Show Every Open Window in the Dock

    Is there an option to show every open window in the dock?
    I have checked & tested the options but it seems somewhat selective as to which open windows appear in the dock down near the apps folder & trash. Some appear at times, but not every window, every time.

    If you mean how to restore all Finder windows that have been collapsed tot he dock, this may help:
    http://macs.about.com/od/usingyourmac/qt/tip-view-all-docked-finder-windows.htm

  • How to see all open windows at once?

    It use to be that in OSX I could hit F3 and all of the open documents on my screen would spread out so I could see everything at once.  Now with the new OS, F3 just makes every open window pile up according to what application its from.  This is NOT an improvement!  Is there a way that I can get around this.  I often have 10 or more files open in Photoshop and I need to be able to see them all at once in order to make selections or see what has been gathered.

    Did some testing -
    Normally I use a wired keyboard. On it, F10 spreads the application's windows.
    When I turn my wireless keyboard on, F10 on it is indeed the Mute function. But, at the same time F10 on the wired keyboard still spreads windows.
    Hmm, this could cause a lot of confusion....

  • Full screen mode: How to switch between open windows?

    Hi There,
    Is there way to get CMD + ` working in full screen mode?
    Other shortcuts like CMD + OPT [ ] to switch between open tabs and CMD + TAB to switch apps seem to work - but without the ability to switch between open windows within the same app, full screen mode is kind of useless.
    Any pointers in the right direction would be much appreciated.
    BTW I'm using Yosemite but the forums won't find a Yosemite community (not sure the community search is working properly)
    Cheers

    or:
    And some additional shurtcuts:
    OS X: Keyboard shortcuts - Apple Support
    http://www.danrodney.com/mac/
    cmscss wrote:
    Hi There,
    Is there way to get CMD + ` working in full screen mode?
    Feedback: www.apple.com/feedback/

  • When closing session, how to save all open windows , so will re-open next time logon ?

    In the older version of Firefox at the point I was closing my browsing session , I had aPopup Window say "You are about to close eg. 10 Windows , do you wish to save and re-open next session ? "I was able to have that option saving my last browsing session - to open next occasion ... in Firefox 4 - How can I have that same option ??

    Firefox 4 saves the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
    You can use "Firefox > History > Restore Previous Session" to get the previous session at any time.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.<br />
    Another possibility is to use:
    * [http://kb.mozillazine.org/Menu_differences Firefox (Tools) > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • How to get the open billing documets specific to Plant

    Dear All,
    I want list of Billing documets which is open i.e. not released to accounting according to plant not payer.VF05 OR VTX3 are not suitable.Please let me know how to get this?
    Regards,
    Murali.

    Dear Murali,
    I am not aware of any report based on Plant and as Ramesh has said that its nt possible to find in sap , i thought of some possibility.
    I hope that serves the purpose and as its one time activity you can try once using Excel.
    1) I think you can use VF05 to get the list of all the open billing documents.
    2) input all these documents in VBFA and get the corresponding delivery docs.
         e.g for 100 billing docs you will get 200 deliveries.
    3) Use these delivery docs and get the Plant assocoated with each delivery through LIKP lets say you have 5 plants
    4) Filter the deliveries as per Plant so you will have 5 delivery lists
    5) Use "Lookup" Function and get the Billing doc list.  Or if you dont knw look up in Excel.
    then go back to VBFA as you have already filtered the delivery list by plant, enter the deliveries list per plant one by one and it will give you the billing docs list.
    This just a thought i never tried it myself,
    Hope makes sense to you, and resolves your problem
    Regards,
    Paresh

  • How do I get my windows to move to my external monitor when connecting one?

    I have the original Macbook and a 23" ACD. Ever since OS X 10.5, when I plug in my ACD, the windows stay on the Macbook screen. Before, in 10.4.x, the windows used to move over to the ACD, which is where the dock and menu bar are. How do I fix this?
    I've noticed that if I close the Macbook lid, then they move. But it's annoying to have the computer go to sleep and then wake up again just to get this to work. Furthermore, it takes a long time because for some reason my Macbook tends to not wake up until like 20 seconds later after I close the lid (could this be from the bluetooth keyboard and wireless mouse causing extra lag time?)

    Hi Ned,
    Thank you for your help. Your 2nd solution led me straight to the correct solution which is:
    slider_1._x = this._xmouse + groove_1._x;
    I use the object variable this instead of groove_1 as I am calling it from the function:
    groove_1.onMouseDown = function(){
        slider_1._x = this._xmouse + groove_1._x;;
    I also add the groove_1 left hand offset (groove_1._x;)
    Thanks again for you help.

  • How does LabView choose which core to use in a multi-core system

    I have to share my multi-core processor with another application.  When this other application runs, it consumes 100% of one of the cores on the system for several seconds.  I am worried about this other application blocking part of my control code, resulting in delayed control signals and possible loss of control. 
    1.  When one core is completely occupied, will LabVIEW put all operations into the other core? (I am guessing this is yes)
    2.  If an operation is occurring on a core that is subsequently 100% subscribed, will LabVIEW move the operation to another core?  Does LabVIEW (or XP) prevent the other application from stalling operations already in progress? 
    The operations I am most concerned with are for the Multifunction DAQ and serial port calls.   
    I am working on a good sized (>100 vi) control system application in LabVIEW 8.2.1.  It is running on Windows XP.   

    1. Yes, Windows will allocate LabVIEW to an open thread on the unused core.
    2. Again, yes, Windows will check for available threads and move LabVIEW to any that are open, it doesn't matter what core that is.
    You can also force LabVIEW code, or parts of it, to run on a specific processor using the timed loop structure. You can find help for setting that up here.
    Chris Van Horn
    Applications Engineer

  • Windows 10 hiding taskbar in multi-monitors setup bug.

    This bug persists since windows 8.1 and is already discussed
    here, but it wasn't fixed in approx. half a year :( So, I'm gonna give it a try here.
    Here's the screenshot of it in Windows 10.
    Well, the bug is with incorrectly disappearing taskbar - taskbar "hides" not in the bottom of the screen, but "taskbar height pixels" higher (see the images in onedrive folder below). It hides in such a way only when you go to start screen
    with visible taskbar, wait until it disappears and return to desktop in any way (by pressing the win key, by selecting desktop on startscreen or by clicking the windows logo in the lower left corner);  this bug only appears with two monitors setup and
    heavily depends on monitors position - the secondary monitor bottom should be below primary monitor bottom (I mean not physical location, of course, but monitors' relative location in "Screen resolution" menu). The bug didn't appear before Update
    1; I can't confirm whether it is reproduceable only on my PC at the moment.
    I have reproduced the bug on windows 8.1 U1 across several computers with 100% success rate: two macbooks pro retina, lenovo laptop, two desktops (on one of them I reproduced the bug via teamviewer). I've reproduced it today in VMWare with windows 10 Technical
    Preview.
    This bug is really annoying - when it happens, you need "to cast some magic" - move the mouse to the bottom of the screen, activate/deactivate several applications, etc. in order for taskbar to reappear properly, let alone the fact that it looks
    unaesthetic.
    Skydrive folder with bug screenshot
    Screen recording of the bug
    Step-by-step guide with screenshots

    Yeah, I already did it. I just wanted to open it here, because I've been trying to contact MS about this bug for almost half a year with no success, so I'm just trying to bring their attention to this thing in all ways possible. I could reproduce this bug
    on all the systems I've tried so far, and I've managed to reproduce it even on VMWare in newly-installed windows 10 TP in a single try.
    @rgggg
    I can't understand what do you mean by weakness in graphics. It's a 100% functionality bug. Also, of course, I have nothing to do except reporting some non-existent bugs, making fake screenshots etc. I can't understand what do you mean about "intermediate
    servers", and it's almost impossible to change every Windows iso distributive I've downloaded in such a way that this bug will appear there :D
    C:\Users\Sfairat>fciv -both D:\Downloads\WindowsTechnicalPreview-x64-EN-US.iso
    // File Checksum Integrity Verifier version 2.05.
    MD5 SHA-1
    9005dce26734bcde7f912c2c51ab1127 eb75a3d3c0f621f175b75dc65db036d0e00eac43 d:\dow
    nloads\windowstechnicalpreview-x64-en-us.iso

  • [SOLVED] Number of open windows per application

    I'm trying to write a script that will count how many open windows a specific application has, for example palemoon. I already tried
    ps -aux | grep palemoon
    While I have two fresh palemoon windows (only one tab per window), the above command shows only one instance of /usr/bin/palemoon running:
    ps -aux | grep palemoon
    george 31403 13.6 12.6 573188 260000 ? Sl 18:27 2:56 /usr/bin/palemoon
    george 32335 0.0 0.1 4900 2188 pts/3 S+ 18:49 0:00 grep palemoon <--- this line is ignored
    How can I get as a result the real number of open windows for palemoon (which in the above example is obviously 2)?
    Last edited by helix (2015-06-12 17:02:38)

    It sure does provide a lot of info, but parsing it seems tricky.
    I don't even know how to count how many tabs one instance of firefox has open.
    @OP
    Why do you need this information?
    Edit: Does
    xwininfo -root -tree | grep -ci moon
    work too?
    Last edited by karol (2015-06-12 17:06:23)

  • Windows: Stretched display and no dual monitor

    Hello. I have a mac book pro with 2 gigs ram and an ATI mobility radeon 1600 graphics card. Everything works perfectly when in OSX nd the dual monitor works perfectly. I have an old NEC monitor I pluged in to my macbook using the display adapter that came with the notebook.
    How ever. when booting up windows XP, during the loading, both monitors work, but when windows actually starts, my external monitor stops working, and everything is stretched horizontally on my notebook display.
    I have had no luck updating ATI drivers as they say I am not supported or something. And apple care directed me here. Any help would be greatly appreciated.
    Thank you for you time.

    I am trying to use an Epson projector as my second monitor and am unable to find that tab you mentioned. Can you please post where you found the tab you clicked on to make things work for you?
    MacBook Pro   Mac OS X (10.4.10)  

  • How do I open to a specific page or destination in a pdf file using Buddy API Xtra?

    Hello,
    I'm working with a CD ROM catalog that utilizes the Buddy API Xtra to open PDF files when a link is clicked. The client would like to be able to open to a specific page within a pdf file.
    I can open a pdf file using the Buddy API baOpenfile() function but I'm having trouble opening to a specific page when I add #page=4:
    baOpenfile("@\pdfs\Powder Cores\Magnetics_Powder_Core_Catalog_2011.pdf#page=4","normal")
    I've also tried working with the code below which seems to me like it should work... I didn't realize that the "open..." part of it was a function in Director.
    on mouseUp me
      pageNum = 4
      theApp = baShortFileName(baFindApp("pdf"))
      theDoc = baShortFileName("@\pdfs\Powder Cores\Magnetics_Powder_Core_Catalog_2011.pdf")
      theArgs = "/s /A page=" & string(pageNum)   & "&pagemode=bookmarks"
      -- (translates to "/A page=4" in this example)
      open theApp && theArgs && theDoc
    end
    Thoughts?
    Thank you in advance!

    Thank you Dee! This works perfect!
    It would be cool to know how to use bashell() for this.
    The help files give the following examples:
    Result = baShell( Operation, Filename, Args, WorkDir, State )
    ok = baShell( "open", "c:\windows\notepad.exe", "myfile.txt" , "", "normal" )
    ok = baShell( "edit", "myfile.htm" , "", "", "normal" )
    So I tried:
    on mouseUp me
      -- Close the program group
      tWindowList = baWindowList( "" , "pdf" , false )
      if tWindowList <> [] and count(tWindowList) > 0 then  baCloseWindow(tWindowList[1])
      pageNum = 4
      theApp = baFindApp("pdf")
      theDoc = _movie.path & "pdfs\Powder Cores\Magentics Powder Core Catalog.pdf"
      theArgs = "/A "&QUOTE&"page="&string(pageNum)&"=OpenActions"&QUOTE
      baShell( "open", theApp, theDoc , theArgs, "normal" )
    end
    It opens the pdf file without going to a specific page. Any thoughts as to why it wouldn't accept theArgs?
    Thanks again!

  • How to Clear all the data of open windows form of another exe?

    Hi,
    I want to make utility which will clear all the data from one windows application.
    i know the application name. The application of which data i want to clear is made in C# and contains many windows forms and controls.
    out of that opened windows form and controls inside it need to be cleared.
    Please guide on how to do this in C#?

    Short version: Find the window and send it a message with
    SendMessage.
    Open up Spy++ and find your form's window.  You will see that the window has children and they have classes of the form "WindowsForms10.EDIT.*"  Those are TextBox controls.  You can call things like SetWindowText to set the
    text of the window to clear it.
    To do this programmatically, you'll have to obtain the window hand that corresponds to the control.  You can find windows with
    FindWindowEx or
    EnumWindows.  Locate the window by name or class or whatever else you can determine about it.  Find the child windows and "clear" them however you wish.  I assume you mean to set empty strings to all the TextEdit controls. If you
    intend to do something more sophisticated than that, then you'll have to be more specific about what you mean by "Clear all the data".
    It may or may not be obvious that you'll be poking around with Win32 API calls via PInvoke to accomplish much of this. Example:
    SetWindowText via PInvoke.

  • I am switching to Apple macbook pro from Windows laptop.  Is Apple compatible with Microsoft Office?  How can I transport from Windows to Mac?  What I have saved on external hardrives, will I be able to open it on Mac?

    I am switching to Apple macbook pro from Windows laptop.  Is Apple compatible with Microsoft Office?  How can I transport from Windows to Mac?  What I have saved on external hardrives, will I be able to open it on Mac?

    Is Apple compatible with Microsoft Office?
    Any computer is compatible as long as it can read and write Office files. But for perfect (or at least near perfect) compatibility, you would want to purchase Office 2011 for Mac.
    How can I transport from Windows to Mac?
    You can't directly transport any installation of Windows. All PC's come with a machine specific version of Windows intended for that PC. They don't have all of the hardware drivers the retail disks cover.
    If you want Windows on your Mac, you would first purchase a full version copy (NOT an upgrade disk) of Windows 7 or 8. Those are the only supported versions on newer Macs. You install it through the supplied Boot Camp utility that comes with the Mac to create a new partition for Windows, and then install the retail copy of Windows you purchased.
    The reason only these versions of Windows are supported is the same basic reason as a machine specific version of Windows for a PC. Apple only includes the necessary Mac hardware drivers for Win 7 or 8 on new Macs.
    Once Windows is installed, you could then install the version of Office for Windows you already own. The nuisance of a Boot Camp partition is that you have to physically boot to either Windows or OS X, so you can only use the apps of the OS you're in at the time. To use both at once, you'd have to use virtual machine software (Parallels, VMware, VirtualBox) and then install Windows within that. Then you'd be able to run Windows inside of OS X and have access to both at the same time.

  • Open swf in new windows at specific points on the timeline

    Let me start by saying that I am a newbie to Flash. I have created a Flash site and I want to create links that would open a SWF in a new window at specific points on its' the timeline. How can I do this?

    It depends what version of actionscript you're using, but if you are familiar with linking to  other pages using buttons, you use the same linking code, getURL (AS2) or navigateToURL (AS3), and specify "_blank" as the window parameter in the arguments for whichever you use.  So if you are using AS2, then in your timeline where you want a new window to open you would have....
    getURL("yourfile.html", "_blank");

Maybe you are looking for

  • With itunes 11 I can no longer see Genius in the Sidebar. ?

    Selecting it in General Preferences fails to display it.

  • Missing text in figures

    I am having a problem with figures in pdf format that I place onto keynote slides. Sometimes when I open the presentation, text from the pdf figures is missing. After restarting keynote, the text comes back, but sometimes it takes several restarts fo

  • Laserwriter 320 driver

    Does anyone know where I can get the driver software for my Personal Laserwriter 320 to run on Mac OS 8.5.1? I have a StarMax 4200. Thanks!

  • Can I use iPhone 5 as personal hotspot?

    If I take the share plan, can I use the phone as personal hotspot for a laptop?  Is it included in price?

  • SAP BW 7.4 on Non-HANA database

    Hello SAP Experts,                                      I am in urgent need for some documentation about SAP BW 7.4 on Non-HANA databse i.e. either or Oracle or anyother database. I tried searching google, scn but not able to get even a single line a