dlgitem_set_appdata
dlgitem_set_appdata (window, dlgitem, appdata)
Associates application-specific appdata with the dialog item specified dlgitem in window. If dlgitem does not refer to a list dialog item or a list tag (in outline lists), $ERROR is set and 0 is returned. Otherwise, 1 is returned.
The window parameter is a window identifier. dlgitem is the value of the control's id attribute. The appdata parameter the string of application data to associate with the dialog item.
Notes
The application data is passed to dialog item and outline list expansion callbacks.
Example
$ret = dlgitem_set_appdata($win, "Hierarchy", "TopOne")
Sets the application data of dialog item Hierarchy to TopOne.