BOOL SetMenuByName (LPCTSTR MenuName)
Parameters
MenuName |
Menu name to search for |
Return Value
Returns TRUE on success, FALSE on error.
Comments
Sets the MenuToSend property to the first menu item with the name specified by the MenuName parameter. Searches are not case-sensitive. All symbols, including ampersands and ellipses, are included in the search.