PyCMenu.EnableMenuItem
int = EnableMenuItem(id, flags )
Enables, disables, or dims a menu item.
Parameters
Comments
The PyCMenu::CreateMenu , PyCMenu::InsertMenu, PyCMenu::ModifyMenu, and PyCMenu::LoadMenuIndirect member functions can also set the state (enabled, disabled, or dimmed) of a menu item.