Cicode Programming Reference > Cicode Function Categories > Menu Functions Introduction > MenuNodeRemove


Remove the menu node from the menu tree.

Be reminded that changes made to the menu tree will not be persisted back to the menu configuration database.




Handle of node to remove.

Return Value

Zero (0) if node successfully removed. -1 if hNode is an invalid menu handle.

Related Functions

MenuGetChild, MenuGetFirstChild, MenuGetGenericNode, MenuGetNextChild, MenuGetPageNode, MenuGetParent, MenuGetPrevChild, MenuGetWindowNode, MenuNodeAddChild, MenuNodeGetProperty, MenuNodeHasCommand, MenuNodeIsDisabled, MenuNodeIsHidden, MenuNodeRunCommand, MenuNodeSetDisabledWhen, MenuNodeSetHiddenWhen, MenuNodeSetProperty, MenuReload

See Also

Menu Functions Introduction

Menu Functions