I guess you will have to set the focus yourself, calling IupFocus. You
could do that on CLOSE_CB.

  IUP does not set focus after the dialog is closed, this is highly
dependent on the system.

Em ter., 15 de fev. de 2022 às 20:59, Andrew Robinson <arobinso...@cox.net>
escreveu:

> Ola Antonio,
>
> I have a custom dialog that I make visible with IupShow(). Then what?
> Clicking the close_button closes the custom dialog but the focus never
> returns to the parent dialog. I tried using CLOSE_CB to call IupHide and
> the return IUP_IGNORE, but nothing seems to work as expected or as
> documented. How is this supposed to be done?
>
> Thanks,
> Andrew
> _______________________________________________
> 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