Window usually have three buttons on a caption. I mean "Minimize", "Maximize" and "Close". How can I add my own button there?
Posted on 2001-11-13 06:52:46 by vkim
There is no API to do that, you'll have to draw the button yourself

The easiest way might be to use DrawFrameControl

Posted on 2001-11-13 07:08:21 by Delight
I think you need to trap WM_NCPAINT.
Posted on 2001-11-13 07:35:27 by f0dder
There is a nice tutorial about that here: Go to tutorial section and click on 'Custom title bar'. It is written in C, but it shouldn't be too difficult to translate it (at least I hope, since I use C and not Win32ASM :grin: ).
Posted on 2001-11-13 12:04:14 by LuHa
Thanks to all and especially to LuHa! Very nice tutorials!
Posted on 2001-11-14 00:09:00 by vkim