iup_exitloop.md
May 4, 2026 ยท View on GitHub
IupExitLoop
Terminates the current message loop. It has the same effect of a callback returning IUP_CLOSE.
Parameters/Return
void IupExitLoop(void);
On Android and iOS there is no message loop to return from (see IupMainLoop); IupExitLoop closes the top dialog instead. On Android closing the main dialog exits the app; on iOS the main dialog cannot be dismissed (only presented sheets are).