Home  /  Autodocs  /  ListBrowser.gadget

NAME

LBM_REMNODE
Removes a node from the attached list.

FUNCTION

Removes and de-allocates a node from the list currently attached to the listbrowser. If rendering information is available, then any necessary refreshing will take place. You do not need to detach your list first.

This method takes the following message structure:

struct lbRemNode
{
ULONG MethodID; // LBM_REMNODE
struct GadgetInfo *lbr_GInfo; // to provide rendering info
struct Node *lbr_Node; // Remove() this node
};

RESULT

Returns non-zero on success, zero on failure.

SEE ALSO

LBM_ADDNODE, LBM_REMNODE, reaction.lib/LBRemNode