multiple-monitors

Can I set on which monitor will application run through the Visual Studio appear?

隐身守侯 提交于 2019-12-22 04:03:57
问题 I am using multiple monitors and I prefer to have my Visual Studio open in the center one and I would like the application that I am testing / running through Visual Studio open on either left or right side, rather than on top of my code. Do you think there is a way of doing that, that is automatic ? Can this be set somewhere in the options ? I know that one solution is to change the main monitor to the left, but that would make all apps start on the left rather than in the center. 回答1:

java and libGDX / LWJGL game fullscreen wrong size for multiple monitors on Ubuntu

十年热恋 提交于 2019-12-22 01:12:34
问题 I'm working on a libGDX (library on top of LWJGL) game project, and use the Intellij IDEA IDE from several different workstations: Windows 7 x64 laptop with two displays (1920x1080 and 1600x1200), nVidia GT540M. Ubuntu 12.04 LTS on a laptop with a single display (1366x768), Intel integrated graphics. Ubuntu 12.04 LTS on a desktop with two displays (1920x1080 and 1280x1024), nVidia GTS 450. I'm using the OpenJDK for Java 6 on the Ubuntu boxes, and Sun/Oracle Java 6 on the Windows box (I heard

Is there a c/c++ multi-monitor library for changing between XP's desktop setting of dualview or clone?

风流意气都作罢 提交于 2019-12-22 00:39:10
问题 I am writing an application where it would be helpful to automatically switch between having Windows XP's desktop in dualview or cloned. The application uses a small wxWidgets window for the GUI. It would be nice to have a button within the GUI that could easily switch between dualview and cloned. Is there a c/c++ library that gives access to controlling dualview or cloned? 回答1: Check out this script which, as far as I can tell, is supposed to enable or disable multiview. While it is written

Display issues on multiple screens after Windows 7 Update KB4034664 (August 2017)

梦想的初衷 提交于 2019-12-21 20:19:10
问题 Users of our application have been experiencing problems with their Swing GUIs not drawing correctly. The common link between all users with problems is that they've recently applied a Windows update. Users have reported that dialogs draw correctly on some monitors but not on others. An example of the kind of problems we're seeing*: Users also report dialogs which only show a frame, and are otherwise transparent. Effectively the same kind of problems you'd see if the UI thread were blocked.

Maximize form on both screens (dual screen monitor)

不羁岁月 提交于 2019-12-21 05:52:11
问题 Iam looking for some hint or solution regarding following problem. I have a .NET 2.0 WinForm dialog which operates in Dual Screen environment. The Working area is set by .NET Framework to reflect the Primary screen. I want to MAXIMIZE Form to BOTH screens but after clicking the "maximize button", dialog is maximized only to "active" screen (active I mean screen on which dialog is currently placed). Iam not interested in bounds solution, this works, but when clicked Maximize button it forces

java print screen two monitors

巧了我就是萌 提交于 2019-12-21 04:23:09
问题 I'm trying to use print screen image area to get 2 monitors, but only works for one monitor. Can you advise me how to get figure 2 monitors? Robot robot = new Robot(); Rectangle screenRect = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()); BufferedImage capture = new Robot().createScreenCapture(screenRect); ImageIO.write(capture, "bmp", new File("printscreen.bmp")); 回答1: Union together the bounds of each screen: Rectangle screenRect = new Rectangle(0, 0, 0, 0); for (GraphicsDevice

How do you control what monitor your application opens on?

社会主义新天地 提交于 2019-12-20 10:10:51
问题 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

How to disable a secondary monitor (with ChangeDisplaySettingsEx)?

牧云@^-^@ 提交于 2019-12-19 18:56:52
问题 I'm trying to follow the instructions on MSDN given here to disable a secondary monitor. I'm trying to use specifically this set of functions to allow compatibility with older versions of Windows. However, I can't manage to disable a monitor. I'm running and testing this on Windows 7 x64. All I get is a flickering screen. The code definitely detects the monitor properly - I managed to change resolution and view it's display modes easily. Here are (parts) of my code - I tried a lot of

How to change 3rd monitor programmatically

[亡魂溺海] 提交于 2019-12-19 08:49:21
问题 When I'm using my laptop, I use 3 displays: The laptop display A second monitor (connected through VGA) A TV (connected through HDMI) My videocard doesn't support 3 monitors, so I'm constantly switching from 2 to 3: when I'm on the computer, I use the 2nd monitor, and when I want to watch some movies, etc. I use the 3rd. I currently have to go to Screen Resolution , select the monitor that is not in use, and choose Extend desktop to this display . Is there a way I can automate it? Is there

Launch an application and send it to second monitor

喜欢而已 提交于 2019-12-19 04:09:37
问题 In VB 2008, I am using the class 'process' to launch and external application with a few parameters. Does anybody knows how can I send it programmatically to second monitor? Also, is there any way to know how many monitors are activated? Thanks. 回答1: You can locate your form on a different screen. form.Location = Screen.AllScreens(1).Bounds.Location + new Point(100, 100) When you launch an application, use the Process Handle to get the Window (hWnd). It's this hWnd value that windows API uses