IupShow

IUP - Portable User Interface

IupRefresh

Updates the size and layout of controls after changing size attributes. Can be used for any element inside a dialog or for the dialog itself. It can change the layout of all the controls inside the dialog because of the dynamic layout positioning.

Parameters/Return

int IupRefresh(Ihandle *element); [in C]
IupRefresh(element: ihandle) -> (ret: number) [in IupLua3]
iup.Refresh(element: ihandle) -> (ret: number) [in IupLua5]

element: identifier of the interface element.

Notes

This function will not change the size of the dialog. Changing the size of the controls may position some controls outside of the dialog on the left or bottom borders.

If you want to also change the size of the dialog use:

IupSetAttribute(dialog, "SIZE", NULL);
IupShow(dialog);

so the dialog will be redisplayed with the new size.