← All repos

borderless-window

A minimal borderless window with the Windows API

borderlessccc0public-domainwindowswindows-apiwindows-desktop
Browse cluster: Cluster 189
7commits
1contributors
2languages

Tech stack & purpose

borderless-window is a minimal C demonstration of how to create a borderless application window using the Windows API. The project addresses the problem that while many Windows applications remove system window borders, the naive approach of using popup windows lacks important user-facing features like window snapping and window menus. borderless-window shows the proper technique of creating a regular overlapped window and expanding the client area to remove borders, while working around various quirks in the Windows windowing system to preserve behaviors like Aero Flip 3D support, taskbar obedience, window animations, and visual corruption avoidance. The project is built with C and compiles with mingw-w64 GCC or Visual Studio 2015, targeting Windows Vista and later, and is released into the public domain.

Languages

C
96.4%
Makefile
3.6%

Contributors