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]

ih: identifier of the element that activated the event.
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_HIDE and IUP_MAXIMIZE since 3.0)

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

Return: IUP_CLOSE will be processed.

Affects

IupDialog