I built a "real" virtual monitor so I could screen-share from my ultrawide
I work on a single 34" ultrawide (3440×1440). Every time I shared my screen on a video call, one of three things happened: Share the entire screen → too wide, nobody can read it Share a window → re-share every time I switch apps Start a slideshow → it fills my whole monitor and I can't see faces or chat Why "share a region" wasn't enough Several tools let you share part of your screen. But that's…
A tech enthusiast created a "real" virtual monitor to enable seamless screen sharing from their ultrawide monitor. Their 34" display (3440×1440) often struggled when sharing screens during video calls. The options were limited: share the entire screen, which became too wide for viewers, or share individual windows, requiring constant re-sharing as they switched between applications. Slideshows, when initiated, filled the entire monitor, obstructing faces and chat.
Several tools existed that allowed sharing parts of the screen, but they were still limited by the physical display. Whenever an app went fullscreen, it disregarded the crop, rendering the solution ineffective. The creator devised a fix: introduce an actual monitor, essentially a virtual display (1920×1080) that Windows recognized as a genuine monitor. They then mirrored this virtual display onto a window within the ultrawide.
The virtual display was developed using open-source Virtual Display Driver (IddCx-based, MIT) and a C# Win32 viewer. During video calls, participants simply selected "Entire screen → virtual monitor" to share the screen. Fullscreen slides remained within the virtual monitor boundaries, ensuring viewers received a clean, crisp 1080p feed.
The creator encountered a few challenges. Firstly, they needed low-latency drawing to ensure smooth sharing. To achieve this, they utilized GDI StretchBlt on a dedicated thread, employing timeBeginPeriod(1) and maintained a 60 fps rate. Secondly, they aimed to make the virtual monitor interactive. When the cursor entered the viewer window, they warped it to the corresponding point on the virtual monitor using SetCursorPos. This allowed for native clicks and keyboard input, keeping the real cursor active in the process.
Additionally, the creator addressed issues with windows flying off-screen while dragging. They solved this by suspending warping altogether while any mouse button was held down. Lastly, they ensured compatibility with FancyZones and Win+Arrow shortcuts, allowing the virtual monitor to maintain a borderless look while still snapping to the desired layout.
The creator packaged their solution as an app called WideStage, offering a single installer for free. They plan to release a paid version on December 1, with an early-bird price of US$9.99 until December 14. The same installer acts as a 14-day trial, requiring a license key to continue usage. The creator is eager for feedback, particularly from users of 49" super-ultrawides or multi-GPU setups. For those interested in providing input, they've created a survey available at a provided link.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to