SetEnabled |
Enable or disable a task
Prototype:
SetEnabled(BYTE IsVisible)
SetEnabled(LONG HeaderID, BYTE IsVisible)
SetEnabled(LONG HeaderID, LONG TaskID, BYTE IsVisible)
Arguments:
HeaderID |
The unique ID of the header you want to change |
TaskID |
The ID of the task you want to change |
IsEnabled |
If you set this value to true the item will become enabled. If false, the item will be disabled. |
Note:
If you use the first prototype, the last added header or task will be affected. The second affects the header and all items. The third affects only one item.