Window without client area in WinAPI
On these screenshots we can see unordinary window frame in different applications:
- QIP logo on its login window frame (not client area) - http://postimage.org/image/2fdjg0h44/
- Buttons (back/next) and address field on the Windows 7 explorer window frame - http://postimage.org/image/2fdrpp7l0/
- In Google Chrome tabs take place on the window frame
In all these windows client area is resized or/and开发者_运维问答 replaced. Of course, it works with Windows Aero theme only.
I want to resize and replace client area of my window or hide it at all if it is possible. (C/C++ and Win API). How can I do it?
That effect is accomplished using the DwmExtendFrameIntoClientArea function.
You are looking to resize the nonclient area of the form: Controls and the Desktop Window Manager
精彩评论