Graphisoft®

Dialog ManagerVersion: 2.0

PushMenu::SetItemStatus

Sets the enabled/disabled status of a push menu item.

void SetItemStatus (
    short               menuItem,
    bool                enable
);

Parameters

menuItem
1-based index of the menu item.
enable
Specifies whether to enable the specified push menu item. If true, the push menu item will be enabled, otherwise the item will be disabled.