Progress Bar Controls
PP Controls provides progress bars for inclusion in your embedded visual basic forms. The progress bas can be mounted vertically or horizontally and can use smooth or block movement.
Progress Bar - Methods & Properties
NewProgress
Creates a new Progress Bar and returns the handle of the new control.
| hWnd of parent form (or frame) or placeholder (hWnd) | |
| Specifies the style of the window being created. | |
| If the style PC_PLACEHOLDER is specified, then hWnd refers to the control to be used as a as placeholder. The new Progress Bar will be placed on the form at the same location as this control, with the same size and font. The place-holder control is then hidden. Note: If PC_PLACEHOLDER style is not given, then hWnd specifies the parent window for the new control. The new control is positioned according to the current values of PPCtrl.Left, PPCtrl.Top, PPCtrl.Width and PPCtrl.Height. The font of the parent window is used. |
Min, Max
Retrieves/Sets the current minimum and maximum positions for the progress control specified by hWnd.
Pos
long = PPCtrl.Pos(hWnd)
Retrieves/Sets the currently position of the progress control specified by hWnd.
Step
Sets step size for the step-it command for the progress control specified by hWnd.
StepIt
Steps the progress control specified by hWnd.
Progress Bar – Styles
PBS_SMOOTH
Makes the progress bar update in single steps, default block updates.
PBS_VERTICAL
Vertically drawn progress bar.
