Re: [Iup-users] IUP iupDlgListDestroyAll refactored

2020-07-12 Thread Antonio Scuri
sion list. > Assunto: Re: [Iup-users] IUP iupDlgListDestroyAll refactored > > > Because IupDestroy will also remove the dialog from that list and > list->next will be invalid. > Like this, it worked without problems. > > void iupDlgListDestroyAll(void) > { >

Re: [Iup-users] IUP iupDlgListDestroyAll refactored

2020-07-10 Thread Ranier Vilela
De: Antonio Scuri Enviado: sexta-feira, 29 de maio de 2020 13:12 Para: IUP discussion list. Assunto: Re: [Iup-users] IUP iupDlgListDestroyAll refactored > Because IupDestroy will also remove the dialog from that list and list->next > will be invalid. Like this, it worked without

Re: [Iup-users] IUP iupDlgListDestroyAll refactored

2020-05-29 Thread Antonio Scuri
Because IupDestroy will also remove the dialog from that list and list->next will be invalid. Best, Scuri Em qui., 28 de mai. de 2020 às 18:55, Ranier Vilela escreveu: > Hi Scuri, > > Is there a special condition, so that the function below is not written > like this? > > usr\iup_dlglist.c:

[Iup-users] IUP iupDlgListDestroyAll refactored

2020-05-28 Thread Ranier Vilela
Hi Scuri, Is there a special condition, so that the function below is not written like this? usr\iup_dlglist.c: void iupDlgListDestroyAll(void) { Idiallst *list; for (list = idlglist; list; list = list->next) { if (iupObjectCheck(list->ih)) { IupDestroy(list->ih); /*