Code: Select all
LAYOUT_AddChild, gadgets[GID_EFFECTS_LIST] = (struct Gadget *)ListBrowserObject,
GA_ID, GID_EFFECTS_LIST,
GA_RelVerify, TRUE,
GA_Disabled, TRUE,
LISTBROWSER_AutoFit, TRUE,
LISTBROWSER_Labels, (ULONG)effects_list,
LISTBROWSER_ColumnInfo, (ULONG)&effects_list_column_info,
LISTBROWSER_ColumnTitles, TRUE,
LISTBROWSER_MultiSelect, FALSE,
LISTBROWSER_ShowSelected, TRUE,
LISTBROWSER_Selected, 0,
LISTBROWSER_VerticalProp, TRUE,
LISTBROWSER_HorizontalProp, TRUE,
LISTBROWSER_MinVisible, MIN_EFFECTS_LIST_ROWS,
LISTBROWSER_VertSeparators, TRUE,
LISTBROWSER_HorizSeparators, FALSE,
LISTBROWSER_Spacing, 2,
LISTBROWSER_Editable, FALSE,
LISTBROWSER_Striping, TRUE,
ListBrowserEnd,
IIntuition->OnGadget(gadgets[GID_EFFECTS_LIST], win, NULL);
The main part of the list is enabled but scrollers aren't enabled until I click on them and it's not possilbe to enable the arrows in the corner at all.
Am I doing something wrong?