Question

To prevent the user from resizing a form, I set its FormBorderStyle to FixedSingle, as recommended here:

Disable Resizing of a Windows Form

This works on XP, but on Windows 7 it doesn't. What has to be done to get it to work on Windows 7 also?

Était-ce utile?

La solution

You could set MinimumSize equal to MaximumSize on the form.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top