AI • Science • Technology • Future

Side Projects

How a Developer Built a Virtual Monitor for Better Screen Sharing

Image from the original article
Featured image: original publisher image. Via original publisher.

A developer shares how they solved a common problem with screen sharing on ultrawide monitors. Source: dev.to.

Problem with Ultrawide Screen Sharing

During video calls, screen sharing often failed to deliver a usable experience.

  • Sharing the entire screen made it too wide for viewers to read.
  • Sharing a window required re-sharing every time the app changed.
  • Fullscreen slideshows filled the screen, hiding faces and chat.

Several tools allowed sharing a region of the screen. But these still cropped the physical display. Once an app went fullscreen, the crop was ignored.

How the Solution Works

The author created a virtual monitor that Windows recognizes as a real one. It runs at 1920×1080 resolution and mirrors into a window on the ultrawide display.

During a call, users select ‘Entire screen → virtual monitor’. Fullscreen content stays within the virtual display, giving viewers a clean 1080p feed.

Technical Components

  • Virtual Display Driver: Open-source, based on IddCx, licensed under MIT. This driver enables Windows to treat the virtual display as a real hardware monitor, allowing it to be selected in screen-sharing tools.
  • Viewer App: Built with C# and Win32 APIs. It renders the virtual monitor content in real time and provides a seamless interface for users during video calls.

Key Technical Challenges and Fixes

Several issues emerged during development and use.

Image from the original article
original publisher image. Via original publisher. · Source
  1. Low-latency drawing: Uses GDI StretchBlt with COLORONCOLOR on a dedicated thread. TimeBeginPeriod(1) ensures 60 fps. Latency is basically imperceptible. A cursor is overlaid using DrawIconEx, ensuring smooth interaction without visual lag.
  2. Interactive cursor: When the cursor enters the viewer window, it is warped to match the virtual monitor. The real cursor lives on the virtual display, enabling native clicks and keyboard input, which improves usability during active tasks.
  3. Drag-related issues: Warping during mouse drag caused windows to fly off-screen. The fix: suspend warping completely when any mouse button is held. This prevents unintended window displacement and maintains stability during drag operations.
  4. Compatibility with Windows features: The app preserves borderless appearance by keeping WS_THICKFRAME and WS_CAPTION flags. The frame is stripped in WM_NCCALCSIZE. This allows FancyZones and Win+Arrow to function correctly without disrupting workflow.

Product and Availability

The tool is called WideStage. It is available as a single installer for Windows 11.

  • Free beta version available immediately.
  • 14-day trial runs automatically before a license key is added. This allows users to test functionality without immediate financial commitment.

The author invites feedback, especially from users with 49-inch super-ultrawides or multi-GPU setups. These configurations may present unique challenges or opportunities for optimization.

A survey is available to gather user experiences and suggestions.

While the solution works well for standard use, it has limitations. Performance impact on CPU during active calls is not quantified. The virtual monitor remains fixed at 1920×1080, with no option for wider resolutions. This may limit usability for users with very wide displays or specific content needs.

This project demonstrates how developers can solve real-world usability issues with targeted, low-level software tools, combining practical design with deep technical implementation.

For similar tools focused on user experience and productivity, see Yonder or Contact Sheet Frame Extraction Tool.

Sources & further reading

Featured image: original publisher image. Via original publisher. Image source