multiple-monitors

Full Screen On Multiple Monitors With XNA

跟風遠走 提交于 2019-12-24 08:09:13
问题 I'm building a special application with XNA that is made for computers with multiple monitors. The problem is that if I tell my XNA application to become fullscreen, it only covers the main screen. How can I make sure that my application runs full screen across all of the screens? 回答1: This doesn't sound trivial at all. What happens when the screens are varying resolutions and aspect ratios? You'll have to create a rendertarget for each of the screens individually. There's no way to mesh them

Xcode window positions when switching from dual to single monitor

可紊 提交于 2019-12-24 07:44:54
问题 When I'm working at home I plug my MacBook in to my 20" monitor as a second (right side) monitor. I do all my editing in Xcode on the larger monitor, and leave the menu bar, debugging and documentation on the laptop's monitor. The problem is when I disconnect from the second monitor and want to work on code in "laptop" mode. Now, whenever I open a file for editing, it shows up almost entirely off the screen and I have to drag it over to edit it. I understand (sort of) why this is happening,

Disconnect and Reconnect Displays Programmatically

给你一囗甜甜゛ 提交于 2019-12-23 20:16:25
问题 Question: What is the best way to programmatically disconnect and reconnect displays programmatically? The Goal: Kill the video output (black screen with no backlight) on a display and later turn it back on. Imagine unplugging the video cord from the monitor, then plugging it back in. My Attempt: // Get the monitor to disable uint iDevNum = 0; DISPLAY_DEVICE displayDevice = new DISPLAY_DEVICE(); displayDevice.cb = Marshal.SizeOf(displayDevice); EnumDisplayDevices(null, iDevNum, ref

Delphi XE Form and Source in dual monitor

会有一股神秘感。 提交于 2019-12-23 17:47:24
问题 Somoene knows if i can setup my IDE for display source code in one monitor and frm in another? I talk about the same .pas because 2 different .pas i can view in each monitor. 回答1: Not sure about XE, but in 2007 you can go to Tools->Options to bring up the options dialog, then uncheck "Embedded Designer" under VCL Designer . After restarting the IDE, the form design will be in an undocked (and undockable) window. The code editor will then be detached from the form, so can be moved to another

Multiple monitors on one PC for a KIOSK system

♀尐吖头ヾ 提交于 2019-12-23 16:44:56
问题 I'm developing a KIOSK system using PHP, HTML5 and Javascript. I want to connect multiple (touch screen) monitors on a single PC. I want these monitors to display a browser in fullscreen-mode where user can access only My Website without any other controls. They won't have mouse or keyboard. They should not be able to minimize the browser. Is there any way to achieve this? 回答1: Yes, there is. However there are a lot of questions in your post and I can not all answer off the bat and not in

How to easily find screen location of form Location in multi-monitor environment?

不打扰是莪最后的温柔 提交于 2019-12-23 15:10:45
问题 In a C# winform application running in a multimonitor environment (desktop is stretched across 2 or 3 monitors), the Location property of a Form represents the location of the form on the spanned desktop instead of the location of the form on the physical screen. Is there an easy way to find the Location of the form in screen coordinates, for the screen that the form is on? So if the form is in the top left corner of the 2nd or 3rd display, the location would be (0,0)? 回答1: /// <summary

PointToScreen multiple montors

荒凉一梦 提交于 2019-12-23 01:32:22
问题 I am using PointToScreen to figure out the position of a popupwindow so that it is besides the button that was used to pop it up. However, the button is on a toolbar, so the user can move the pop-up around. The position of the pop-up works well, but if the user is on a quadrant I want to move the pop-up above the bottom (instead of below) or left (instead of right). The problem is that in a multi-monitor setup, PointToScreen delivers to position of the control of the main screen, so if I have

Java fullscreen jframe with dual monitor

你离开我真会死。 提交于 2019-12-22 18:36:52
问题 Here my issue, I have 2 Jframe, one for controlling and one for displaying things to publics. I need the display frame to be in fullscreen to avoid publics see things it doesn't need, and I need the controling frame to be usable on the other screen to control the display frame. Here's my problem, today, I have no problem working this way in Ubuntu and a dual screen mode, but, in Windows 7 buisness 64 (don't try other version yet) The display frame actually goes fullscreen, but when i click

SDL2: two displays, two windows and fullscreen mode

大憨熊 提交于 2019-12-22 14:57:11
问题 I'm trying to create two windows on two displays. But I have a problem: the second window is displayed in full screen mode, but the first window is minimized, and I need to click on it on the taskbar to expand to full screen. I create windows in loop with code: windows_data.window = SDL_CreateWindow("Title", SDL_WINDOWPOS_CENTERED_DISPLAY(i), SDL_WINDOWPOS_CENTERED_DISPLAY(i), width, height, SDL_WINDOW_FULLSCREEN_DESKTOP | SDL_WINDOW_SHOWN); Adding the flag SDL_WINDOW_MAXIMIZED does not solve

Change 2nd Monitor Display Setting to Duplicate

只愿长相守 提交于 2019-12-22 12:14:12
问题 I am attempting to programatically make the 2nd Monitor have a duplicate display. My function below should change the 2nd monitors display to 'duplicate display', ie, make the 2nd monitor display everything that is on the 1st/Primary monitor. My Problem: When I run my function it successfully finds the 2nd monitor and it changes that monitors display x coordinate to 0, ie, the left of the primary monitor screen by changing the DEVMODE dmPosition.x property. Both of my 2 monitors refresh