I'm trying to figure out how these stock menus and menu items work. They seem to be controlled by some hidden code somewhere.
If someone closes the app's main window, for whatever reason... you would want to present them with the opportunity to open a new window. But the "new" menu item is grayed out after the close is performed... and I can't figure out where the code for that is coming from or how I can alter it. Also, is there a way I can see the code for things like save, open, save as, revert to saved, etc.? Thanks for the help.
If someone closes the app's main window, for whatever reason... you would want to present them with the opportunity to open a new window. But the "new" menu item is grayed out after the close is performed... and I can't figure out where the code for that is coming from or how I can alter it. Also, is there a way I can see the code for things like save, open, save as, revert to saved, etc.? Thanks for the help.