lem0nify
lem0nify

Reputation: 53

Window without client area in WinAPI

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?

Upvotes: 5

Views: 512

Answers (2)

Remy Lebeau
Remy Lebeau

Reputation: 596206

That effect is accomplished using the DwmExtendFrameIntoClientArea function.

Upvotes: 4

LarsTech
LarsTech

Reputation: 81610

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

Upvotes: 2

Related Questions