Menu POPUPS "EDIT" and "WINDOW" (OpenInsight 32-bit Specific)
At 04 DEC 2002 12:14:56AM Peter Walter wrote:
I am sure that there is a simple answer to both the following questions, but, as an OI novice, I am left scratching my head on these.
A MDI master window in an application for which I am taking over the debugging work has two POPUP menu entries (in addition to the others): EDIT and WINDOW. Both POPUP menus have the usual entries. Trouble is, whenever I try to do a SET_PROPERTY on any of the EDIT menu entries, OI ignores me! If I change the name of the menu to EDITOR, SET_PROPERTY behaves as expected. Does OI handle EDIT and WINDOW menu popups specially?
The WINDOW popup "automagically" add the names of the running children to a window list. I cannot find any code that does this. Is it possible that there is a promoted event for WINDOW popups?
Thanks,
Peter
At 04 DEC 2002 12:51AM Donald Bakke wrote:
Peter,
The "Window" menu is handled automatically by OI and (I'm pretty sure) by the Windows OS. If you look at most MDI windows for other application you generally see a "Window" menu that "automagically" tracks which MDI child windows are running. So, yes, I think "Window" and "Edit" are specially named.
BTW, what part of the world are you from? It seems you are usually posting around this time…which is late in the evening for me.
dbakke@srpcs.com