One would imagine that changing the colors of the built-in window title bar or at least painting your own custom one would be a pretty straightforward task. Sadly in Windows (more precisely Windows 10), it is not easy at all.
It took me a few tries and multiple full days of work to find a reasonable solution that is also up-to-date. Here's how it goes...
C Language provides a built-in enum type for listing types of things. The default implementation, however, leaves much to be desired. In this article I'm going to list some useful techniques I discovered working with C for the past few years.