How do I limit the form to unmovale and unresizable?

  • Thread starter Thread starter Jason Huang
  • Start date Start date
J

Jason Huang

Hi,

How do I limit MyWinForm so it can't neither movable nor resizable?
Thanks for help.


Jason
 
Jason said:
How do I limit MyWinForm so it can't neither movable nor resizable?
Thanks for help.

If you specify the FormBorderStyle to a non-resizable one, I don't
believe users will be able to resize it. If you specify the
FormBorderStyle to FormBorderStyle.None, they won't be able to move it
- but they won't be able to close it either. (Appropriate for a splash
screen, for example.)

Personally I don't *want* to have things on my screen that I can't
resize or move though - it's worth thinking very carefully before
imposing this kind of restriction (I know it's sometimes appropriate
though).

Jon
 
Back
Top