Questions tagged [virtual-screen]
10 questions
16
votes
5 answers
How can I check that a window is fully visible on the user's screen?
Is there a way to check that a WinForm is fully visible on the screen (eg is not out of bounds of the screen?)
I've tried using SystemInformation.VirtualScreen for this, which works great as long as the virtual screen is a rectangle, but as soon as…

Brann
- 31,689
- 32
- 113
- 162
9
votes
0 answers
Transform virtual screen in Wayland
The top of my laptop screen is broken and I am unable to view anything within a 1600x82 rectangle.
Is it possible in Wayland/XWayland to transform the virtual screen so that only the visible area of my monitor is used?
I managed to hack together a…

daxvena
- 1,140
- 3
- 14
- 30
4
votes
1 answer
WPF version of VirtualScreen
Is there a WPF version of System.Windows.Forms.SystemInformation.VirtualScreen?

Jonathan Allen
- 68,373
- 70
- 259
- 447
2
votes
1 answer
Finding virtual screen width using multiple monitors and different DPI
I'm trying to simulate mouse input using SendInput, however I need to determine the virtual screen width in case there are multiple monitors, to set the dx and dy values, for example:
dx = (x * 65536) / SystemInformation.VirtualScreen.Width;
dy = (y…

Yves Calaci
- 1,019
- 1
- 11
- 37
2
votes
1 answer
Position of Primary Screen in Virtual Screen
I can center a wpf window in somewhere in the primary screen or in the virtual screen. However, I want to stretch the window over the whole virtual screen and place e.g. a grid in the window in a way that it fills the primary screen. The following…

Martin Booka Weser
- 3,192
- 5
- 28
- 41
1
vote
1 answer
Android : How to know the number of virtual screens
I need to know the number of virtual screens of the desktop but I don't know where I can find this information.
I think I need to access to the launcher but I don't know how.

afloret
- 91
- 2
1
vote
1 answer
Public virtual display has black screen
I ran this example: https://github.com/android/media-samples/tree/main/ScreenCapture
And changed the display to be public so that I can access it using scrcpy:
mVirtualDisplay = mMediaProjection.createVirtualDisplay("ScreenCapture",
…

Kidades
- 600
- 2
- 9
- 26
1
vote
1 answer
How to run multiple applications that need x server in headless ubuntu server?
I have a single graphics card in a remote headless ubuntu server.
I have set nvidia-xconfig to make a virtual display.
I need virtual x server, but not xvfb, to run a unity game headless, yet record a video of rendering of the game.
Xvfb does work…

Phillip C
- 81
- 6
0
votes
1 answer
How can I reliably identify when Direct3D9 "device" maps onto which Windows GDI "monitor"?
I'm trying to obtain screenshots of multiple monitors using IDirect3DDevice9::GetFrontBufferData() and it works but I cannot figure out how I could identify which IDirect3DDevice9 corresponds to which monitor and so how its output is positioned on…

sharptooth
- 167,383
- 100
- 513
- 979
0
votes
1 answer
Windows 10 Virtual Desktop - two inputs at the same time (mouse + touch screen)
I try to create WPF application (.net Core 3.1) with support touch screen and non-touch screen with two inputs at the same time.
I found a sample how to do this with VWvare and Virtual maschine here is the sample,
but I want to do something easier…

Puty
- 100
- 1
- 13