Customizing the title bar area of a console application
That's not easy to do. The console window is actually handled by a separate process, conhost.exe
. You'd need to persuade that process to change its behaviour which would involve gross hacks.
You can obtain the window handle readily enough and change basic properties of the window, and hope that conhost.exe
doesn't change them back. But custom painting of the caption bar would involve injecting code into conhost.exe
.