Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to be able to make a form with a custom title bar (translucent) and that is resizable. How would I do this in vb.net?
I do not want external libraries/dlls.
Posted
Comments
Brady Kelly 14-Mar-15 1:17am    
Have you even tried anything at all for yourself? It doesn't look like it, because as soon as you create a new Windows Forms Application in VB.NET, Visual Studio already adds a form for you.
iProgramIt 14-Mar-15 1:33am    
Bloody hell, yes I have. I would like a new custom form!
Brady Kelly 14-Mar-15 1:38am    
So you seem to have a very rudimentary understanding of how Visual Studio even works. Just right-click your project in Solution Explorer, and choose Add->Windows Form.
iProgramIt 14-Mar-15 1:48am    
Excuse me?! I understand some of the most awkward spaces in .NET! I know how to make a form. The matter is I want to make a custom form, custom title bar and custom resize operations!
Brady Kelly 14-Mar-15 2:13am    
OK, sorry. We may have a difference in OS/terminology. When I add a new form in VB.NET, it already has the translucent title bar I'm used to in Windows 7. For custom resize operations the normal avenue is to handle the form's Resize events, or one of several properties relating to sizing on the form. These are basically all there are, unless you want to get down and dirty, but maybe if you enhance your question a bit, and state what you mean by "translucent" and how that differs from standard translucent, and what you need with custom resize operations.

1 solution

First of all, please see my comment to the question.

See these CodeProject articles on the topic:
Winforms SkinFramework[^],
WinForms Form Skin[^],
Vista Aero ToolStrip on Non-Client Area[^],
Painting Vista's Aero NonClientArea in VB.NET[^].

—SA
 
Share this answer
 
Comments
iProgramIt 14-Mar-15 18:12pm    
Thank you. Extending client area in Win7 doesn't work for me.
Sergey Alexandrovich Kryukov 14-Mar-15 18:43pm    
Who told you anything about "extending client area" (what would it mean?)?
I doubt you understand what you are talking about, is looks like that.
—SA
iProgramIt 14-Mar-15 18:44pm    
I know what I am talking about. Do not be insolent towards me
Sergey Alexandrovich Kryukov 14-Mar-15 18:45pm    
Sorry if I'm mistaken, as I say, this just "looks like that". If you do, can you explain it?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900