Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- tool
- A Tool enumeration value which represents the tool associated with the menu item.
- topMenuId
- An integer value which represents the top-level menu ID of the first item in the menu. A returned value of 0 indicates there are no menu items.
- subMenuId
- An integer value which represents the sub-level menu ID of the first item in the menu.
Use this method and the GetNextItemId method to iterate through the available menu items.