Hi Rafi,
sorry for that, I have not thought about other readers.
Here is a small summary:
Andy wants to get the Submenu-names in order to load appropriate lybraries with the same name.
So I suggested to use the "GetMenuBarAttribute" to get the SubmenuID; and with this ID he could poll the Submenu-name using the "GetMenuBarAttribute" again.
But in the meantime he has already solved the problem. In fact he only took the wrong Attribute ("ATTR_MENU_NAME"), where the right one would be "ATTR_ITEM_NAME".
I hope I could help you with this...
Best regards
Peter Weber
NI Germany