Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_Nav_DisableMenuItem


Disables/enables a specified item in a specified popup menu. A disabled menu item appears embossed in the popup menu and cannot be selected.



#iMode :


Menu item to enable/disable.


Submenu item to enable/disable(if applicable).


Name of menu (that is. button associated with popup menu).


Name of page associated with menu.

Return Value

0 if successful, otherwise -1.