To reproduce my problem please do the following:
- Create a new Windows Form Application in C#.
- In the Properties window of Form1 set
FormBorderStyle
toNone
. - Launch program and press Windows+Up.
- Now you are stuck in full screen.
In the default FormBorderStyle
setting the MaximizeBox
property to false will disable the Windows+Up fullscreen shortcut.
If the FormBorderStyle
is set to None
Microsoft decided it would be a good idea to disable all the Windows+Arrow key shortcuts except for the up arrow and then disable the disabling of the MaximizeBox
property.
Is this a glitch? Any simple way to disable this shortcut function the selfsame way it is disabled on all the other FormBorderStyles?
See Question&Answers more detail:os