Graphisoft®

Dialog ManagerVersion: 2.0

ListView::SetItemStatus

Sets the enabled or disabled status of a list view item.

void SetItemStatus (
    short               listItem,
    bool                enable
);

Parameters

listItem
1-based index of the list view item to be modified, TopItem or BottomItem of Item type specifies the first or last item of the list view control. Use AllItems of Item type to modify all items.
enable
Specifies whether to enable the given list view item. If true, the item will be enabled, otherwise the item will be disabled.