SL_SetNodeAttrA -- sets the attributes of a node.
SL_SetNodeAttr -- varargs stub for SL_SetNodeAttrA.

SL_SetNodeAttrA(node, taglist);
A0 A1

void SL_SetNodeAttrA(void *, struct TagItem *);

SL_SetNodeAttr(node, tag, ...);

void SL_SetNodeAttr(void *, Tag, ...);

Sets various attributes of a node.

node - as returned by SL_CreateNodeA.
taglist - a list of tags that identify that attributes to set.

NODEATTR_Name (struct NameField *) - the name of the node.

NODEATTR_TextName (SLCHAR *) - the text name of the node.

NODEATTR_IconName (ICONHANDLE) - the icon name of the node.

NODEATTR_NumberName (LONG) - the number name of the node.

NODEATTR_UserData (SLTAGDATA) - anything the user wants to associate with
a given node.

NODEATTR_AddNodeHead (LISTHANDLE) - adds the node to the head of the
specified list.

NODEATTR_AddNodeTail (LISTHANDLE) - adds the node to the tail of the
specified list.

NODEATTR_DisabledFlag (SLFLAG) - sets value of the disabled flag. When TRUE
causes a node to be non-selectable and displayed in a disabled state.
The default is FALSE.

NODEATTR_HiddenFlag (SLFLAG) - sets value of the hidden flag. When TRUE causes
a node to not be displayed at all. The default is FALSE.

NODEATTR_SelectedFlag (SLFLAG) - sets value of the selected flag. When TRUE
causes a node to be selected in a multiselect control. The default
is FALSE. This flag is not supported by any controls yet.

NODEATTR_ExpandedFlag (SLFLAG) - sets value of the expanded flag. When TRUE
causes a node to display its child list in a hierarchial control.
The default is FALSE. This flag is not supported yet.

NODEATTR_Flags (ULONG) - new set of flags for the node.

SL_AddNodeAfter, SL_AddNodeBefore, SL_AddNodeHead, SL_AddNodeSorted, SL_AddNodeSortedFunc, SL_AddNodeTail, SL_ClearList, SL_CountNodes, SL_CreateListA, SL_CreateNodeA, SL_FindNodeFunc, SL_FindNodeName, SL_FindNodePos, SL_FindNodeUserData, SL_FirstNode, SL_FreeList, SL_FreeNode, SL_GetListAttr, SL_GetNodeAttr, SL_IsListEmpty, SL_LastNode, SL_NextNode, SL_PrevNode, SL_RemoveNode, SL_RemoveNodeHead, SL_RemoveNodeTail, SL_SetListAttrA, SL_SetNodeAttrA, SL_SortList, SL_SortListField, SL_SortListFieldRange, SL_SortListFunc, SL_SortListFuncRange, SL_SortListRange.


SL_SetNodeAttrA  Command Section By Type  url:SL_SetNodeAttrA
  created:2008-03-01 23:36:35   last updated:2008-03-01 23:36:35
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_SetNodeAttrA
There are no user contributed comments for this page.