| Visual Basic | |
|---|---|
Sub SetProgressPos( _ ByVal lPos As System.Integer, _ ByVal bsDocStr As System.String _ ) | |
Parameters
- lPos
- Current position of the progress bar
- bsDocStr
- Description of what the add-in is currently doing
See the examples in IEdmTaskInstance.
The task add-in calls this method periodically during processing of the hook, EdmCmdType.EdmCmd.TaskRun, to update the progress bar in the task list window of the PDM Administration tool.
Initialize the task list progress bar by calling IEdmTaskinstance::SetProgressRange at the start of processing of the hook, EdmCmdType.EdmCmd.TaskRun.
lPos is between 0 and lMax of IEdmTaskinstance::SetProgressRange.
- S_OK: The method successfully executed.
SOLIDWORKS PDM Professional 2010