How do I get the FixedSingle FormBorderStyle to be respected by Windows 7?
-
06-07-2021 - |
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?
Solution
You could set MinimumSize equal to MaximumSize on the form.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow