With DWM (Custom Window Frame Using DWM)
Customize Title Bar and Window Frame in Win32/Direct2D apps

thebluetropics
1,046
Reputation points
How can I remove the default title bar and replace it with my client area, so I can fully customize the title bar and the window frame too. Something like this:
I want to draw the frame on my own (using Direct2D)
Windows development | Windows API - Win32
2,791 questions
Developer technologies | C++
3,977 questions