List View Help
19-Aug-94 06:28:42
Sb: #42189-List View Help
Fm: Gerald Bonnstetter 71172,3141
To: Nevil Underwood 100111,1156
The way to update a listview is to detach the list, alter it, then
re-attach the list.
/* Detach list by setting labels to ~0 */
GT_SetGadgetAttrs( Gadgets_ptr, Wnd_ptr, NULL
, GTLV_Labels, ~0
, TAG_DONE);
/*
* Add/delete nodes here.
*/
/* Re-attach list. */
GT_SetGadgetAttrs( Gadgets_ptr, Wnd_ptr, NULL
, GTLV_Labels, list_ptr
, TAG_DONE);
//
\X/ Amiga or bust! Gary Bonnstetter, Bonnsoft