Questions tagged [multiple-monitors]
For questions about programmatic use of or interaction with multiple physical display devices (monitors, televisions, projectors, etc.) simultaneously connected to the same computer system, using either a spanning or independent configuration. (For non-programming questions, try Super User.)
multiple-monitors
836
questions
0
votes
0
answers
83
views
Is it possible to turn the display off knowing the monitor handle [duplicate]
I can control the monitor brightness using DeviceIoControl and handle to the display device:
handle = CreateFile(monitor, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);
But I also ...
0
votes
0
answers
16
views
pyautogui not finding picture on larger screen
I have a project using pyautogui that runs perfectly on my laptop. I've made an exe of the script and tried testing it on a different computer where the 'main screen' in the settings is an external ...
0
votes
0
answers
37
views
PHPStorm - change the position of a pop-up window to open on another monitor
I'm new to programming and I have got a problem with the pop-up window of my website.
There is a button that opens a pop-up window, and in the process, it generates a pdf-file in the new opened window....
0
votes
0
answers
34
views
MobaXterm: mouse not responsive when using dual screens
I'm using MobaXterm to SSH from my Windows 10 into a Linux.
The Windows has two screens. Opening an app (it's a Qt app) remotely displays its window, however the mouse left click is not working.
The ...
0
votes
0
answers
16
views
Switching from dual monitor setup and single display and back
I use extended display most of the time but when I need to go to a meeting I'm stuck on 1 screen.
Is there a 3rd party tool or feature I can use within windows that will return my display to extended ...
0
votes
1
answer
49
views
Programmatically how to differentiate between 2 monitors {laptop integrated monitor, and external monitor connected via port}
I wanted to programmatically differentiate between two monitors using some parameters which says:
monitor is 'integrated monitor' of the laptop OR,
monitor is 'external monitor' and connected via ...
0
votes
1
answer
108
views
Select monitor to show WPF application
I'm working on a WPF application, and I want to select the monitor where to display the window. My .NET version is 8.0, SO is Windows and Version is 7.0.
I'm trying to apply the [Mostlytech][2] steps, ...
0
votes
0
answers
55
views
Powershell open 2 specific urls on different monitors
I have a surface laptop 5 that I use with a dock to connect it to 3 monitors. I have a main widescreen and then 2 27" monitors on top. I want to open a specific url on the top left monitor and ...
0
votes
0
answers
20
views
Is there a way using JavaScript to open a new window in another monitor? [duplicate]
I have some web-based reports that open in a new browser window. Users have asked if they can pick which monitor a report opens in. Is there a way in JavaScript to target a 2nd (or 3rd) monitor for a ...
-1
votes
1
answer
58
views
how to move mouse to specific point with keyboard shortcut
I have 2 monitors and on one I keep iTerm and vscode in fullscreen mode. I have shortcut keys via Karabiner to swich between the two. The problem is the other monitor has a few other apps not in full ...
-1
votes
1
answer
154
views
Is there a way to change monitor orientation using Python on Windows?
Every time I turn my monitor I have to go in the settings, any way to automate the changing of the screen orientation in Python? I'm on Windows 10.
I have tried using the shortcut (ctrl alt right) but ...
0
votes
0
answers
113
views
How could I know which monitor the window handle belongs to on Windows?
I am trying to capture the image of the active window. It works well for one monitor, but what if there are multiple monitors?
The solution I use is:
if(auto handle = GetForegroundWindow(); handle != ...
0
votes
1
answer
51
views
DayNight mode not working for Presentation dialog on second screen
I've got a small test app to test day/night themes in a device with two screens.
I've got a themes.xml
<style name="Theme.MyApp" parent="Theme.AppCompat.DayNight.NoActionBar"...
0
votes
0
answers
25
views
opencv moveWindow works in vscode terminal but not Ubuntu's
cv2.namedWindow(WINDOW_NAME, cv2.WINDOW_FREERATIO)
cv2.setWindowProperty(WINDOW_NAME, cv2.WND_PROP_FULLSCREEN, cv2. WINDOW_FULLSCREEN)
cv2.namedWindow(SECOND_WINDOW_NAME, cv2.WINDOW_FREERATIO)
cv2....