Hi,

I want to customize the titlebar color and buttons (minimize, maximize and close). I found some samples on the web:
- customcaptions (somewhere on codeproject or codeguru)
- captionbutton (somewhere on codeproject or codeguru)
- shadecap (http://www.microsoft.com/msj/0697/c0697.aspx)
But they all suffer the same thing when using windows XP theme: the buttons are overpainted, but their clickregion is not right. When you click (mousepressed), you clearly see the old (classic) buttons.

Are there any nice (working) samples of code of this?