tags:

views:

188

answers:

3

how to make the windows app in vs 2008 unresizable?because when you launch the application and point and drag to its corners, the window grows.

+1  A: 

Take a look on the properties of the window control in the properties window. You'll probably figure out how to do this + how to control few more staff about the window..

Mendy
+1  A: 

Change the ResizeMode property of the window.

Benny Jobigan
Wrong UI framework.
Hans Passant
Ah. It wasn't clear that he's using winforms.
Benny Jobigan
+3  A: 

Change the FormBorderStyle to a fixed one, depends what look you want. Here's a full list of options, you probably want Fixed3D or FixedSingle

You also probably want to set MaximizeBox to false.

Both of these can be found in the designer as options on the form, or set in code, whichever you prefer.

Nick Craver