Ths is the old method
It is done now with DWM (DwmExtendFrameIntoClientArea and so on) : Custom Window Frame Using DWM
The client area doesn't sizing properly
I am experienceless on Windows Desktop programming. I would like to draw the frame window by myself. I searched on the internet and found the Bee Lee's article.
https://beeleeong.wordpress.com/2017/04/23/want-a-better-window-frame/#more-889
Demo :
https://github.com/beelee93/ExtendingWindows
I used the method that descripted in this article , But I encounter a issue about the client area. When I resize the frame window ,the client area size doesn't be changed.
Below is the screenshot of a demo, I just added a status bar in the demo app. The size of status bar will not be changed when window size changed.
https://ibb.co/VY05WPG
Any help would be greatly appreciated!
1 answer
Sort by: Oldest
-
Castorix31 82,116 Reputation points
2022-05-29T07:32:40.857+00:00