Hi,

 Yes, that's correct. The user interface is not updated during a long
processing. What you can do is inside your processing call a callback, then
inside that callback call IupLoopStep. This will not only refresh
the IupAnimatedLabel, but also allow the user to click on a cancel button,
for instance.

Best,
Scuri


Em ter., 15 de nov. de 2022 às 15:16, Andrew Robinson <arobinso...@cox.net>
escreveu:

> Ola,
>
> I'm using IupAnimatedLabel with IUP_CircleProgressAnimation. Everything
> works fine except when the control is part of a background function.
> IupAnimatedLabel apparently is not an independent process and
> therefore cannot multitask, i.e. -- the first frame of the
> IUP_CircleProgressAnimation displays, but no animation occurs when the
> control is called from a function with lots of code being executed (more
> specifically, with code that is calling external functions like
> reading/writing to files, calling external commands, etc).
>
> Signed,
> Andres
>
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to