|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I just began using DebuggingCarbonLib 1.3.1 in an attempt to track down a
bug in my app, and have been running into the following assertion in my
code. I can't seem to figure out what it's referring to here:
Assert failed: CarbonLib (Menu Manager): inItem > 0
Are you calling GetMenuItemHierarchicalMenu yourself? If so, you are passing 0 for the item parameter. 0 indicates the menu title, and the menu title does not have a submenu; only menu items (with index 1 or greater) have submenus. Thus the assertion, "can't get the submenu of the menu title."
|>Re: DebuggingCarbonLib assertion (From: Eric Schlegel <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.