MiniGUI API Reference (MiniGUI-Standalone)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros
Messages of progressbar control

Macros

#define PBM_SETRANGE   0xF0A0
 Sets the limits of the range. More...
 
#define PBM_SETSTEP   0xF0A1
 Specifies the step increment for a progress bar control. More...
 
#define PBM_SETPOS   0xF0A2
 Sets the progress bar control's current position. More...
 
#define PBM_DELTAPOS   0xF0A3
 Advances the progress bar control's current position. More...
 
#define PBM_STEPIT   0xF0A4
 Advances the current position by the step increment. More...
 

Detailed Description

Macro Definition Documentation

#define PBM_DELTAPOS   0xF0A3

Advances the progress bar control's current position.

Advances the progress bar control's current position as specified by posInc, and redraw the bar to reflect the new position.

1 PBM_DELTAPOS
2 int posInc;
3 
4 wParam = (WPARAM)posInc;
5 lParam = 0;
Parameters
posIncThe progress bar control's position increment.
Returns
Always be PB_OKAY.

Definition at line 182 of file progressbar.h.

#define PBM_SETPOS   0xF0A2

Sets the progress bar control's current position.

Sets the progress bar control's current position as specified by nPos, and redraw the bar to reflect the new position.

1 PBM_SETPOS
2 int nPos;
3 
4 wParam = (WPARAM)nPos;
5 lParam = 0;
Parameters
nPosThe progress bar control's current position.
Returns
Always be PB_OKAY.

Definition at line 162 of file progressbar.h.

#define PBM_SETRANGE   0xF0A0

Sets the limits of the range.

Sets the upper and lower limits of the progress bar control's range, and redraws the bar to reflect the new ranges.

1 PBM_SETRANGE
2 int min, max;
3 
4 wParam = (WPARAM)min;
5 lParam = (LPARAM)max;
Parameters
minThe lower limit of the progress bar.
maxThe upper limit of the progress bar.
Returns
PB_OKAY on success, else PB_ERR.

Definition at line 125 of file progressbar.h.

#define PBM_SETSTEP   0xF0A1

Specifies the step increment for a progress bar control.

1 PBM_SETSTEP
2 int stepinc;
3 
4 wParam = (WPARAM)stepinc;
5 lParam = 0;
Parameters
stepincStep increment for a progress bar control.
Returns
PB_OKAY on success, else PB_ERR.

Definition at line 142 of file progressbar.h.

#define PBM_STEPIT   0xF0A4

Advances the current position by the step increment.

Advances the current position for a progress bar control by the step increment, and redraw the bar to reflect the new position.

1 PBM_STEPIT
2 
3 wParam = 0;
4 lParam = 0;
Returns
Always be PB_OKAY.

Definition at line 200 of file progressbar.h.