Well, there's no list box widget yet. In the future we will probably implement a list box 'meta-widget' within the client library. List boxes are constructed from boxes, listitems, labels, and the scroll widget. You can take a look at the source code to the File Picker dialog box here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pgui/cli_c/src/dlg_filepicker.c?rev=1.13&content-type=text/vnd.viewcvs-markup
This is what it's doing: - it creates a normal box widget to hold the list, and attaches a scroll bar to it - Within that box it uses transparent box widgets to create columns - It uses non-transparent label widgets as headings for each column - The clickable items are listitem widgets - The non-clickable items are label widgets with PG_WP_THOBJ set to PGTH_O_LISTITEM so that they look exactly like list items. Quoting Carpman <[EMAIL PROTECTED]>: > I was looking at the screen shots, and in the file dialog, the files are > > listed in some kind of list box. It looks cool, how do I make one? > > > _______________________________________________ > Pgui-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/pgui-devel > -- Only you can prevent creeping featurism! _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
