Windows Develop Bookmark and Share   
 index > Windows Forms Designer > How to make form movable but prevent maximize
 

How to make form movable but prevent maximize

Hello!

I want to make my form transparent. I have done this by setting border style to 0. How to make the form movable? Plus, it would important that user cannot maximize (or minimize) the form, for example by double-clicking the form with mouse.

With best regards,
RI
re infecta  Thursday, September 07, 2006 5:08 PM
Re: transparency see this post.

For Movable without maximize and minimize, try experimenting with FormBorderStyle property, set it to FixedSingle
joeycalisay  Friday, September 08, 2006 5:54 AM
Re: transparency see this post.

For Movable without maximize and minimize, try experimenting with FormBorderStyle property, set it to FixedSingle
joeycalisay  Friday, September 08, 2006 5:54 AM
Thank you!

Abot transparency and VB.NET: I would like hide the title bar too. This is possible only if the border style = 0, or am I wrong?

Another one: Do you know how to draw a round-edge rectangle (lenght 200, height 30). Border color should be white and the interior totally tansparent? Plus the borders should be alpha-blended with smooth shadows / blurring effect? Is it possible to create this using .NET's native GDI+?
re infecta  Friday, September 08, 2006 6:58 AM
If you set it to FixedSingle, title bar will disappear. As for your next query, it's better if you create another post.
joeycalisay  Friday, September 08, 2006 11:17 AM

You can use google to search for other answers

Custom Search

More Threads

• Looking for controls similiar to Picasa interface...
• Forms Designer & My Panel Control
• How can I get my Windows Forms Designer (in vb2005/.net Framework 2) started?
• CanConvertTo Not Called
• There is already a command handler for the menu command '5efc7975-14bc-11cf-9b2b-00aa00573819 : 17'
• Databindings on a UserControl
• Copy Form Design to another Form or Application?
• Assign a Char* to Label
• custom designer? plzz help
• Slow DataGridView