5

On these screenshots we can see unordinary window frame in different applications:

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?

Christian Rau
  • 45,360
  • 10
  • 108
  • 185
lem0nify
  • 53
  • 5
  • 1
    Pretty tricky to get this right. Start here: http://delphihaven.wordpress.com/2010/04/19/setting-up-a-custom-titlebar/ – David Heffernan Oct 12 '11 at 22:17
  • Duplicate of http://stackoverflow.com/questions/7673040/winapi-create-resizable-window-without-title-bar-but-with-minimize-maximize-clo/7677568#7677568 and probably other questions too. – David Oct 13 '11 at 12:08

2 Answers2

4

That effect is accomplished using the DwmExtendFrameIntoClientArea function.

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770
2

You are looking to resize the nonclient area of the form: Controls and the Desktop Window Manager

LarsTech
  • 80,625
  • 14
  • 153
  • 225