I have a WinForms app, and I would like to add a menu entry to the menu that opens when the user clicks on the upper left corner of a window (the Icon) or presses ALT+SPACE.
Form only shows me a MainMenu and a ContextMenu, but no SystemMenu or something like that. Is there a simple way to modify this on a WinForms app?
I want to add a simple “About” entry, just for people to check the version and URL from within the application. There is no good place in the usual UI for this (no Main Menu).
This menu is added to the form when you set the FormBorderStyle to anything except ‘None’. When the form border style is changed, a routine called AdjustSystemMenu is called. This routine uses a GetSystemMenu method to retrieve a SystemMenu? from somewhere. The ‘somewhere’ is the problem. There does not appear to be a SystemMenu object anywhere that can be accessed.
EDIT:
Just found this link, it looks like it might do what you want.