Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- tool
- A Tool enumeration value associated with the menu item.
- topMenuId
- An integer value which represents the top-level menu ID.
- subMenuId
- An integer value which represents the sub-level menu ID.
Return Value
A boolean value which is true when the menu item is enabled. Otherwise, false is returned.When a menu item is enabled, the application end-user can select the menu item. Items that are enabled appear in dark print. Items that are not enabled are grayed out.