long FindMenu (LPCTSTR Name)
Parameters
Name |
Name of the menu item to search for |
Return Value
Index of the first menu item with this name; -1 if not found.
Comments
Searches are not case-sensitive. All symbols, including ampersands and ellipses, are included in the search.