Gets the visible status of the specified menu item.
Parameters
- tool
- A Tool enumeration value associated with the menu item.
- topMenuId
- An integer value which represents the top-level menu in which the menu item resides.
- subMenuId
- An integer value which represents the sub-level menu in which the menu item resides.
Return Value
A boolean value which is true if the given menu item is visible. Otherwise, false is returned.