Called just before the menu is opened.
int function(Ihandle *ih); [in C] ih:open_cb() -> (ret: number) [in Lua]
ih: identifier of the element that activated the event.
IupMenu