Customize Title Bar - Robbe Morris - MVP C# |
25-Jun-07 10:14:48
|
Winforms do not support that. The close thing you could do
is go borderless on the form and make up your own minimize,
maximize, and close buttons.
--
Robbe Morris
EggHeadCafe.com
http://www.eggheadcafe.com/articles/adonet_source_code_generator.asp |
 |
| |
Customize Title Bar - RickL |
26-Jun-07 08:54:14
|
Robbe,
When I create a borderless form and run the application, the task bar
icon has no text. Normally, it would display the titlebar text.
Is there a way to overcome this problem?
Thanks,
RickL |
 |
| |
Customize Title Bar - Mick Doherty |
26-Jun-07 10:52:03
|
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1763858&SiteID=1
--
Mick Doherty
http://www.dotnetrix.co.uk/nothing.html |
 |
| |
Customize Title Bar - Bob Powell [MVP] |
27-Jun-07 03:10:22
|
You can override WndProc to catch the various WM_NCxxx messages to draw
custom controls, handle clicks and such.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
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. |
 |
| |
Customize Title Bar - KK |
27-Jun-07 06:08:11
|
hi bob,
thats an interesting suggestion.
actually, now there is a big community of developers who is working on .NET
and C# (properly) but which will not have any background in MFC or Win32!
can you PLEASE provide ANY example on what can be achieved by WndProc or
CreateParameters etc.
I know its kinda too much to ask for code samples, but still, if you can
provide some expert snippets, would help the community a lot. |
 |
| |
Customize Title Bar - Mick Doherty |
28-Jun-07 09:32:26
|
A C# example:
http://geekswithblogs.net/kobush/articles/CustomBorderForms.aspx
An older MFC example:
http://www.catch22.net/tuts/titlebar.asp
--
Mick Doherty
http://www.dotnetrix.co.uk/nothing.html |
 |
| |
Customize Title Bar - B. |
19-Jul-07 03:28:56
|
I went throught all those posts/examples, most of them are talking
about paint the title bar programmatcially. It is easier for a button,
but how about a text box or richedit box, how can such control takes
users input of text?
Thanks. |
 |
| |
Customize Title Bar - B. |
19-Jul-07 04:28:35
|
Hi Bob,
Can I paint a textbox or richedit box and still allow user to type in?
Thanks.
On Jun 27, 12:10 pm, "Bob Powell [MVP]" |
 |
| |
Customize Title Bar - B. |
23-Jul-07 04:07:32
|
Hi Bob,
How do you draw controls like text box, richedit box and still allow
user type in text? Thanks.
On Jun 27, 12:10 pm, "Bob Powell [MVP]" |
 |
| |