>>> I want to add a compare method to my mui4-list subclass with multi >>> columns. But I didn't receive a method (MUIM_List_Compare) when I click on >>> a column!? I only get a MUIM_Set where the clicked column is set >> >> that should be enough to do everything you want... on >> MUIA_List_TitleClick (0x80422fd9), change your sort-order internally >> with a flag in your instance data and then call MUIM_List_Sort. >> >> your MUIM_List_Compare would read this flag and sort accordingly. >> >> also, MUIM_List_Display would append \33I[6:38] (tapeup) or \33I[6:39] >> (tapedown) to the title string of sorted column. > Thanks! > Thats a bit different as for NList;-)
there could be more sophsticated methods in the future. MUIA_List_TitleClick is the most basic thing and will continue to work. > Is there a way to see if the user pressed shift while clicking on a column? Dirlist.mui uses that on the Name column. There's nothing public yet though. What you could do meanwhile is simply store the current state of qualifiers in your eventhandler. stuntzi. ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/16uqlB/TM --------------------------------------------------------------------~-> Visit http://www.amiga.dk/tumult for MUI-related information, especially about MUI custom classes. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/MUI/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
