This function indicates if the specified menu item is a valid choice.
Syntax: valid = spIsMenuItemValid ( hwndMenu , id )
Parameters:
- hwndMenu – Menu window handle.
- id – Identity of the menu item.
- Returns: True (1) – Menu item is valid.
- False (0) – Menu item is invalid.