SHOW_CB

IUP - Portable User Interface

SHOW_CB

Called right after the dialog is opened, minimized or restored from a minimization.

Callback

int function(Ihandle *ih, int state); [in C]
elem:show_cb(state: number) -> (ret: number) [in Lua]

Parameter state indicates which of the following situations generated the event:

IUP_HIDE, IUP_SHOW, IUP_RESTORE (was minimized or maximized), IUP_MINIMIZE or IUP_MAXIMIZE.

IUP_MAXIMIZE is not received in Motif when activated from the maximize button.

Affects

IupDialog