https://stackoverflow.com/questions/69715610/how-to-initialize-the-background-color-of-win32-app-to-something-other-than-whit

貌似现在依然没有什么好的解决方法呢。

好吧,我最终是采用了评论中的 dwm 的方案。