...
Tasks are grouped items that sit in the tasks panel in the WMC and appear as text commands that can be clicked.
Adding tasks
First, Tasks stay visible until they are removed with NavDeleteItem therefore you typically want to add them when your panel becomes active and delete them when the panel is deactivated. See Tree items and panels for information of handling (de)activation events.
To add a task, first insert a task group under the TASKLIST root with NavInsertItem.
...
Info |
---|
The NavItemHelpers code in sdk\helpers has more convenient ways to manage tasks |
When to add tasks
Tasks stay visible until they are removed with NavDeleteItem therefore you typically want to add them when your panel becomes active and delete them when the panel is deactivated. See Tree items and panels for information of handling (de)activation events.
Removing tasks
To remove a task simply call NavDeleteItem with the FQN or alias of the task you wish to delete.
...