Strange Window Painting
If you resize Google Chrome 3.0.195.21 to a very small width on Windows 7 (I haven't tried other versions), the window buttons hang off the window, like this:

![Chrome Bug](http://img504.imageshack.us/img504/7333/chromebug.png)

The window size is not extended, and the overhang does not respond to the mouse.

The overhang does not show up in Spy++ (as far as I can tell).

How is that done?

How can I do something like that?  (I write C#, but would take a C++ answer as well)
Strange Window Painting
===

If you resize Google Chrome 3.0.195.21 to a very small width on Windows 7 (I haven't tried other versions), the window buttons hang off the window, like this:

![Chrome Bug](http://img504.imageshack.us/img504/7333/chromebug.png)

The window size is not extended, and the overhang does not respond to the mouse.

The overhang does not show up in Spy++ (as far as I can tell).

How is that done?

How can I do something like that?  (I write C#, but would take a C++ answer as well)