Called right after the dialog is showed, hidden, maximized, minimized or restored from minimized/maximized. This callback is called when those actions were performed by the user or programmatically by the application.
int function(Ihandle *ih, int state); [in C] ih:show_cb(state: number) -> (ret: number) [in Lua]
ih:
identifier of the element that activated the event.
state: indicates which of the following situations generated the event:
IUP_HIDE (since 3.0)
IUP_SHOW
IUP_RESTORE (was minimized or maximized)
IUP_MINIMIZE
IUP_MAXIMIZE (since 3.0) (not received in Motif when activated from the maximize button)
Returns: IUP_CLOSE will be processed.