[RESOLVED] [2005] User-drawn Form Titlebar?
I've recently delved into the world of overriding the rendering events for menus and toolbars and such.... now, I need (want) to override how the titlebar of the form is done.... specifiaclly, regardless of what theme the user has, I want the title to look a specific way.
I've been working with a mock up for the app I'm working on and I realized that the title bar looks stoopid with the design I've got and I want something that will compliment the form.
As an alternative, I can get rid of the title bar, and make my own directly on the form, but then I lose the ability to move the form around (although if there's a solution to this, I'll take that too.)
All I really want to do is to paint the title bar a specific color. Otherwise, it's just a standard titlebar.
help?
-tg
Re: [2005] User-drawn Form Titlebar?
The title bar of the form is part of the non-client area of the form so it is outside .NET. If you want to change its appearance then it would definitely require APIs and I wouldn't have a clue which. There are numerous threads on the forum about drag and drop for a form with no title bar or border. It's would be a little tedious but it's just drag and drop like any other.
Re: [2005] User-drawn Form Titlebar?
That's what I had suspected. I've decided that it's not worth the effort at this point (for v.01) and so have scrapped the idea (at least for now, will revisit later).
Thanks
-tg