Gets the topMenuId and subMenuId of the first item in the menu associated with the specified tool.
Syntax
public void GetFirstItemId(
Tool ,
out int ,
out int
)
public: void GetFirstItemId(
Tool ,
[PARAMFLAG::Out] int ,
[PARAMFLAG::Out] int
)
public:
void GetFirstItemId(
Tool ,
[Out] int ,
[Out] int
)
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.
See Also