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