Taskbar Effects
Taskbar Effects
Set the Taskbar Progress Bar (set_window_progress)
Displays a progress bar on the taskbar button (e.g. download progress, install progress, etc.).
int32_t set_window_progress(uint32_t window_id, int32_t progress, int32_t state);- Parameters:
window_iduint32_tprogressint- Progress value (0–100)stateint- State:0=no progress,1=normal,2=paused (yellow),3=error (red),4=indeterminate
- Return value:
1= success,0= failure
WARNING
Windows platform only.
Flash the Taskbar Icon (flash_window)
Flashes the taskbar icon to attract the user's attention (e.g. when a message arrives).
int32_t flash_window(uint32_t window_id, uint32_t count);- Parameters:
window_iduint32_t;countuint32_t- Number of flashes,0= stop flashing - Return value:
1= success,0= failure
WARNING
Windows platform only.