gcc -o win7buttons.exe win7buttons.c -lgdi32 -luser32 -lkernel32 -mwindows
.win7-close-btn:hover background: linear-gradient(180deg, #ff8a8a 0%, #c42e2e 100%); border-color: #9b2e2e;
In WPF, you don't draw pixels; you draw vectors. To get that "scratch" look, you need to disable native window styling ( WindowStyle="None" ) and build the caption buttons using Path geometries.
This gives us a functional, blank Windows 7 window. Now, let's build a button that feels like it belongs there.