Syntax
xBool PopUpInsItem( PopUpMenu *popUp, int position, MenuItem *item );
Arguments
popUp the pop-up menu.
position the one-based position of an existing item.
item the item to insert. NULL is invalid.
Return value
T on success, or F if the object is NULL, item is NULL or position is outside the existing item list.
Description
The items at and after the insertion point shift down. If the current item moves, its position is adjusted. The menu takes ownership on success. The caller retains ownership on failure. Use `PopUpAddItem()` to append or to add the first item.