multiple-monitors

Allowing interaction with a second window without breaking full-screen in the first?

巧了我就是萌 提交于 2020-01-14 09:08:54
问题 I want to build a web-based presentation tool with a PowerPoint-like "presenter view" for the second monitor. I can use the HTML5 full screen API (example) to put the main presentation in fullscreen, but that seems to preclude interacting with the controller window on the other screen. Is there any way to interact with webpage windows on two different monitors when one of them is fullscreen? Details: Chrome and Safari on OS X use Lion's native fullscreen mode, which is well-known to be broken

StartPosition is set to CenterPosition but my form is not centered

不问归期 提交于 2020-01-13 10:16:09
问题 I'm using Visual Studio 2012. My form, when it opens doesn't center to the screen. I have the form's StartPosition set to CenterScreen , but it always starts in the top left corner of my left monitor (I have 2 monitors). Any ideas? Thanks 回答1: try this way! namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); //Method 1. center at initilization this.StartPosition = FormStartPosition.CenterScreen; //Method 2. The manual way this

WPF mutli-monitor problem - WindowState

时间秒杀一切 提交于 2020-01-11 06:08:33
问题 I've been trying to get my WPF application to span multiple monitors for some time now and nearly have it working. The problem seems to arise when I set the following line: win1.WindowState = WindowState.Maximized This causes the application to span only the primary screen. My code is as follows: public partial class App : Application { private void Application_Startup(object sender, StartupEventArgs e) { Window1 win1 = new Window1(); win1.WindowStartupLocation = WindowStartupLocation.Manual;

WPF mutli-monitor problem - WindowState

时间秒杀一切 提交于 2020-01-11 06:07:48
问题 I've been trying to get my WPF application to span multiple monitors for some time now and nearly have it working. The problem seems to arise when I set the following line: win1.WindowState = WindowState.Maximized This causes the application to span only the primary screen. My code is as follows: public partial class App : Application { private void Application_Startup(object sender, StartupEventArgs e) { Window1 win1 = new Window1(); win1.WindowStartupLocation = WindowStartupLocation.Manual;

WPF mutli-monitor problem - WindowState

我与影子孤独终老i 提交于 2020-01-11 06:07:08
问题 I've been trying to get my WPF application to span multiple monitors for some time now and nearly have it working. The problem seems to arise when I set the following line: win1.WindowState = WindowState.Maximized This causes the application to span only the primary screen. My code is as follows: public partial class App : Application { private void Application_Startup(object sender, StartupEventArgs e) { Window1 win1 = new Window1(); win1.WindowStartupLocation = WindowStartupLocation.Manual;

Ctrl Alt F8 disconnects displays?

僤鯓⒐⒋嵵緔 提交于 2020-01-10 08:08:37
问题 Learning debugging in PhpStorm and keep accidentally hitting Ctrl + Alt + F8 . I use 3 displays this disconnects the two remotes and goes back to just the laptop. I cannot see this documented anywhere (running Win 10). The worst part is that hitting the combination again does NOT reconnect the displays. Anyone know either: combination to reverse the effect - IE reconnect displays how I can stop it or a tool that will help me find out where it is firing from (motherboard/Windows/Intel/nVidia

Multiple screens/monitors with Silverlight

好久不见. 提交于 2020-01-05 03:59:11
问题 I'd like to write a Silverlight app that has 2 or more browser windows that "interact". An example would be a parent/details display where selecting an item in the "Parent" list (in one browser window) will display the details of the item in another window. The main point is so that on a multiple-monitor setup the user could have the main screen on one monitor and "tool" windows on the other. Like how I use VS. Is this possible? Any links/sample code etc? Thanks! 回答1: You should be able to

dual monitor dual window app in wpf

假如想象 提交于 2020-01-04 14:00:35
问题 I'm trying to create a wpf video player with media element. My goal is making muliple windows for that application. each of the windows will show up on different monitors. Like the MainWindow will get the resolution of primary monitor and resize itself to go full screen. The Second window on secondary monitor and so... So far, I've made the MainWindow fullscreen on the primary monitor. but I've no idea how to show the second window on second monitor with it's resolution. please help. 回答1:

How can I change monitor settings to duplicate and extend via script

核能气质少年 提交于 2020-01-03 15:54:14
问题 As I am using a laptop with a tv as its second monitor I want to make a little script which will trigger screen settings from extended to clone and when it is set to clone it should set the screen settings to extended. I want to make it in c# as it is my primary language and I think it could solve my problem. So i have made a console application like this for now: class Program { static void Main(string[] args) { DisplayChanger.Start(); } private static Process DisplayChanger = new Process {

Setting a C# Form to a Negative Location

懵懂的女人 提交于 2020-01-03 10:43:26
问题 I am working on a tool for Windows that will interface with CloudApp using its API. I found some articles on here about how to achieve the Region capture which I used to modified to fit my exact needs. Everything is going very well, but I am having trouble with a multi-monitor setup. The reason for the trouble, is that I run one monitor in 1920x1080 and the second is 1080x1920. The overall flow is that I create an image of the entire screen (3000, 1920), then I show it as the background in a