In a PPx app, I have a line of code
MenuRef theMenu = ::GetMenuHandle(260);
where 260 is the MenuID for a submenu created in IB (all latest
versions). This submenu is item 1 on menu 258 (in the menubar).
Analogous code works fine for menus on the menubar but returns NULL for
submenus even though IB and the XML file in the package all agree on the
MenuID number.
Isn't GetMenuHandle() supposed to work for both menus and submenus?
--
Mike McLaughlin
larry@skytag.com - 17 Nov 2005 02:37 GMT
You asked this exact question in July of this year and I answered it:
http://www.codecomments.com/archive244-2005-7-541554.html
Nothing's changed since then.
Larry