CompuServe Messages

GadTools

    01-Jul-95 19:26:50
Sb: #47406-GadTools
Fm: Steve Ahlstrom 76703,2006
To: David Bridge 100625,3255
David, I'm not sure what you're doing, but creating listviews are relatively trivial. All the info necessary is contained in the 2.0 RKMs and the autodocs. You simply fill out the structure members then create the gadgets., ie… ng.ng_TopEdge = te; ng.ng_LeftEdge = win->BorderLeft + 12; ng.ng_Width = 508 + 16; ng.ng_Height = 12 * 14; ng.ng_TextAttr = &topaz; ng.ng_VisualInfo = vi; ng.ng_GadgetText = NULL; ng.ng_Flags = NULL; ng.ng_GadgetID = BOOK_LV; ng.ng_UserData = NULL; book_lv = g = CreateGadget(LISTVIEW_KIND, g, &ng, GTLV_Labels, BookList, GTLV_ShowSelected, NULL, GTLV_Selected, 0, TAG_DONE); -sja