Syntax
MenuItem *PopUpGetItem( const PopUpMenu *popUp, int position );
Arguments
popUp the pop-up menu.
position the one-based position of an existing item.
Return value
The item at position, or NULL if the object is NULL or position is outside the item list.
Description
The menu retains ownership of the item. Use the `MenuItem` setters to change its attributes while it belongs to the menu.