This is the first time I've used the WINDOW_NewMenu tag to create and display menus. I never use this tag because I find it impractical (de-iconification of the window always resets the menu strip to the original NewMenu structure setting, thus discarding all current-state menu changes like checked or disabled items). But this time I was being too lazy and my menu too simple, so I went ahead and gave it a chance.
Nice: just one line of code instead of the usual gadtools stuff. But the window.class documentation does not mention whether I am responsible for freeing the menu strip, or whether the class handles it automatically (just like it handles the creation).
A word from the gurus (Rigo, Steven) and a note in the autodoc would be greatly appreciated! :-)
Fri, 2011-02-18 10:00
#1
Window.class and WINDOW_NewMenu