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