Listview gads
14-Dec-93 13:27:09
Sb: #38297-Listview gads
Fm: Steve Tibbett 72627,1325
To: Ralph Staudte 100040,271
Sounds like there's something not set up right…
When you add the new node to the list, are you detaching the list first? You
have to do a GT_SetGadgetAttrs() with the GTLV_Labels set to ~0 to detach the
list, and then again after you have changed the list with GTLV_Labels set to
point to the list.
As far as scrolling not working, this could be because GadTools is confused
because you didn't detach the list… or it could be that your window isn't
getting IntuiMessages that the ListView needs to operate. Are you stting the
LISTVIEWIDCMP flags in the list of IDCMP flags that your window is getting?
(When you create the window or in a call to ModifyIDCMP()).
I don't believe ListViews support the arrow keys for scrolling – you will have
to take care of this yourself.
…Steve