Those applications draw their own non-client area. I've seen a C# code example and it was long. It's the "proper" way to create your own title bar rather than the hack of setting ControlBox to False and drawing a fake title bar in the client area but it was lots of unmanaged code and not for the feint-hearted. I don't think I have a link to that example any more but I'll look.
doesn't this sort of thing annoy users? A program done this way is not going to support system themes, let alone 3rd party programs that skin them such as windowblinds. IMHO i think you should stick with the stock buttons. Your program will not blend in with the look and feel the user has created on their system!
I suppose it is the type of software that you create that should determine this. For instance business software is never going to be skinned but may require a pretty interface to appease the suits.
Hi. Did you manage to get the example code working OK for you?
I just downloaded it and found that when you minimize and restore the test dialog app, Windows still displays the default minimize and maximize buttons (see attached image).