You have to override WndProc, handle WM_NCPAINT and WM_NCMOUSEMOVE, draw the
button manually and handle all mouse interaction manually.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Daniel Friend" <da*@donotspam.com> wrote in message
news:eU**************@TK2MSFTNGP15.phx.gbl...
How do I add a custom button to the caption bar of a form like AOL does
for
it's favorites.
Thanks,
Dan