Minimal custom title bar window (win32 API)

Not strictly an article ABOUT Odin but it is used for the main code snippet so I hope it still belongs here:
https://alek-tron.com/borderless/borderless.html

It is a minimal sample to create a window with custom title bar (“borderless”) on Windows.
Because it is Windows this is of course much harder than it should be but this method has served me well so far.

1 Like