PopUpMenu

PopUpSetCargo

Store an application data pointer on the menu

Syntax

Signature
xBool       PopUpSetCargo( PopUpMenu *popUp, void *cargo );

Arguments

popUp the pop-up menu.

cargo the application data pointer, or NULL to clear it.

Return value

T on success, or F if the object is NULL.

Description

The application manages the lifetime of the data.

See also