Skip to content

A simple application to rid of visual distractions by creating black overlays over selected monitors, written in C++ and WINAPI.

Notifications You must be signed in to change notification settings

Tenvolin/MonitorZen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MonitorZen

A simple application to rid of visual distractions by creating black overlays over selected monitors.

This program only works on the Windows OS. Written using WINAPI in C++. Target the x86 platform when building.

Designed to mimic the zen mode in IDEs, MonitorZen removes from focus the distracting windows, notifications, and taskbar that might be present on your non-dominant monitor. With a single hotkey you can block out everything and focus on reading your article at hand.

How it Works

The program works by painting the client area black in each child window. Each of these windows are positioned to overlay the resolution of each selected monitor.

The title bar and menu bar are removed, thus painting a complete black overlay on each selected monitor. Each child window also contains styles that keep them permanently above all other windows.

In Action

Usage Main Window

To Use

Hotkey: ctrl + ~

Start the program and a checkbox will appear for each monitor you have in use. The monitors are numbered from 1 onwards, counting from your leftmost monitor first. When you want to toggle blacking out certain overlays, press the hotkeys "ctrl"+"~" or click on the main bottom.

If you forget about the hotkeys, you can always "alt"+"f4" out of these overlays.

Files of Note

MonitorZen.h

Includes forward declarations of functions involved in registering and constructing the main window UI and screen overlays.

MonitorZen.cpp

Entry point to the program. All functions and message handling loop defined here.

About

A simple application to rid of visual distractions by creating black overlays over selected monitors, written in C++ and WINAPI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published