Changes the text title of the specified menu item.
Parameters
- tool
- A Tool enumeration value which represents the tool that the menu item is associated to.
- 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.
- menuText
- A string value which represents the text to change the menu item to.
Return Value
A boolean value which is true if the menu item text was changed. Otherwise, false is returned.