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

Macros

#define PBM_SETRANGE   0xF0A0
 Set the limits of the range. More...
 
#define PBM_SETSTEP   0xF0A1
 Specifies the step increment for a progress bar control. More...
 
#define PBM_SETPOS   0xF0A2
 Set 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

◆ PBM_DELTAPOS

#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.

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

Definition at line 194 of file progressbar.h.

◆ PBM_SETPOS

#define PBM_SETPOS   0xF0A2

Set the progress bar control's current position.

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

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

Definition at line 174 of file progressbar.h.

◆ PBM_SETRANGE

#define PBM_SETRANGE   0xF0A0

Set the limits of the range.

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

int min, max;
wParam = (WPARAM)min;
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 137 of file progressbar.h.

◆ PBM_SETSTEP

#define PBM_SETSTEP   0xF0A1

Specifies the step increment for a progress bar control.

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

Definition at line 154 of file progressbar.h.

◆ PBM_STEPIT

#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.

wParam = 0;
lParam = 0;
Returns
Always be PB_OKAY.

Definition at line 212 of file progressbar.h.

PBM_DELTAPOS
#define PBM_DELTAPOS
Advances the progress bar control's current position.
Definition: progressbar.h:194
PBM_SETRANGE
#define PBM_SETRANGE
Set the limits of the range.
Definition: progressbar.h:137
WPARAM
UINT_PTR WPARAM
A type definition for the first message paramter.
Definition: common.h:706
PBM_SETSTEP
#define PBM_SETSTEP
Specifies the step increment for a progress bar control.
Definition: progressbar.h:154
PBM_SETPOS
#define PBM_SETPOS
Set the progress bar control's current position.
Definition: progressbar.h:174
PBM_STEPIT
#define PBM_STEPIT
Advances the current position by the step increment.
Definition: progressbar.h:212
LPARAM
UINT_PTR LPARAM
A type definition for the second message paramter.
Definition: common.h:712