multiple-monitors

Is it possible to launch a browser window in VBA maximized in the current monitor?

随声附和 提交于 2019-12-11 06:50:03
问题 I need to be able to launch a browser window from VBA code (that part's easy), but I also need it to display maximized on the current monitor. To make things better (read: worse), I need to support a quad-monitor display. So, the user could have 4 windows active on 4 separate monitors, and depending on which window/monitor triggers the website to open, it should be maximized in that monitor. As I mentioned before, launching a website is trivial (yes, IE is a requirement. Boo.): Shell ("cmd /c

Application turns black when dragged from a 4k monitor to a FullHD monitor

不打扰是莪最后的温柔 提交于 2019-12-11 06:45:22
问题 My notebook has a 4k display. My external monitor is 1920. When I drag my Java Swing app window from the 4k display onto the external monitor it gets completely black except for the window frame. It doesn't matter whether I maximize it on the external monitor or not. Here is the HelloWorldSwing example I got from Oracle.com. It shows the exact same behaviour. import javax.swing.*; public class HelloWorldSwing { /** * Create the GUI and show it. For thread safety, * this method should be

WPF Dual Monitor Application Overlay

北城以北 提交于 2019-12-11 06:28:57
问题 I looked at this thread to create a dual monitor application in WPF: http://social.msdn.microsoft.com/forums/en-US/wpf/thread/5d181304-8952-4663-8c3c-dc4d986aa8dd where a WPF Window will be displayed on each of the two monitors. The issue I am having is that the windows are overlapping - they are both being displayed on the same screen. The Debugger tells me that there are 2 Displays in the System.Windows.Forms.Screen.AllScreens array and that the Top and Left values of the working areas of

Features in VB6 stop working on one of my multiple monitors

☆樱花仙子☆ 提交于 2019-12-11 03:59:12
问题 I have 3 monitors with the center monitor being the primary one. When I start VB6 everything works fine on the center and right monitor, but if I maximize the window on the left monitor my scroll wheel (which uses the VB6 mouse wheel fix) and Ctrl+F for the Find window stop working and continue to not work until I drag the window so most of it is on the center monitor. I have not had any issues with any other programs. Any fix for this? 回答1: I haven't personally seen the issues you have with

C# Identfiy screens number?

时间秒杀一切 提交于 2019-12-10 21:18:31
问题 How to have a function in C# to run the window identification, which will show the numbers 1, 2, ... on the screen same way as we do it by right click on the screen (properties) then we go to Screen Resolution and show the numbers by clicking on Identify. Can we do that in C#? 回答1: Yes, look at the Screen class: http://msdn.microsoft.com/en-us/library/system.windows.forms.screen.aspx You can get a list of all screens through Screen.AllScreens. 回答2: Using the Screen.AllScreens Property does

Java: Keep window fullscreen in second monitor when not focused

拟墨画扇 提交于 2019-12-10 20:24:57
问题 I am writing a java application that takes advantage of a dual monitor set up. I have two windows: Window 1 - Main GUI Window 2 - Full Screen on Second monitor My Problem: The second window only stays full screen when it has the focus. If I click back on window 1 or change the focus to something else, window 2 minimizes. Is there someway to make window 2 stay full screen when it doesn't have focus? Here is my code for making the second window full screen on the second monitor: frame

C++ Direct3D Multiple Screen Capture

隐身守侯 提交于 2019-12-10 14:48:20
问题 Hello Direct3D experts, I am currently developing an application with Direct3D in order to capture my two monitors desktop (used as extended desktop of course). The following code works well but I am just able to capture the primary display and not the extended desktop (just one screen is captured twice) How can I adapt this solution for a dual screen capture ? First of all, I initialize Direct3D: D3DDISPLAYMODE d3dDisplayMode; D3DPRESENT_PARAMETERS d3dPresentationParameters; //Presentation

Delphi 6 form set to position itself with poDesktopCenter ends up on “extended” monitor

房东的猫 提交于 2019-12-10 14:19:33
问题 I have a Delphi 6 application that launches a Wizard after the main form appears. The Wizard is a modal form. One of my users has their Windows desktop extended to more than one monitor. In their case the main form appears on the primary monitor and the Wizard appears on the Extended monitor. This creates confusion because they think the app has frozen when they try to click on the main form. Since the Wizard is open and modal, nothing happens except they hear the warning "ding" tone that

python pygtk how to put a window on a specific display monitor

╄→尐↘猪︶ㄣ 提交于 2019-12-10 10:00:45
问题 I'm using Python PyGTK library on OS Linux based (suse, ubuntu) Working on devices with multiple Display Monitors. I'm trying to put a Full Screen Window (in python, gtk.Window) on a Specific Display monitor connected to the Device. I'm using the following code: n_monitors = gtk.gdk.Screen.get_n_monitors() # Get number of monitors. gtk.gdk.Screen.get_monitor_geometry(*monitor_number*) # Get the size of a specific monitor. The second api returns the monitor size and offset information. gtk

Simulate a monitor and get a video stream on windows

烂漫一生 提交于 2019-12-10 09:46:13
问题 Is there a way for me to programatically set up a fake monitor in windows and get a video stream from it? Is there something in the win32 api that will allow me to do this? Thanks 回答1: I think Windows desktop objects are your answer. Here's an example of an application that uses them: Unlike other virtual desktop utilities that implement their desktops by showing the windows that are active on a desktop and hiding the rest, Sysinternals Desktops uses a Windows desktop object for each desktop.