开发者

Window without client area in WinAPI

开发者 https://www.devze.com 2023-04-12 20:19 出处:网络
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/

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号