How do I select more than one thing on a list with MDX?

June 28 2005 at 9:08 PM
No score for this post
Qb_Master  (Login Qb_Master)
from IP address 24.252.69.60

 

okay, I am working on a script to replace mIRC's $sfile event, because $sfile cannot select more than one file at a time, which is something I need to do. I have the GUI for the script working well now, except for one problem. I can't tell if more than one 'file'(item on the list) is selected, it only returns the first selected item.

list 1, 2 17 185 62, size
;------......------
var %temp = $dll($mdx, SetControlMDX, $dname 1 Listview report grid smallicon > $views)
did -i fsel 1 1 seticon normal 0 images\music_note.ico
did -i fsel 1 1 seticon normal 0 images\folder.ico
did -i fsel 1 1 seticon normal 0 images\exe.ico
did -i fsel 1 1 seticon normal 0 images\other.ico
did -i fsel 1 1 seticon normal 0 images\image.ico
did -i fsel 1 1 seticon normal 0 images\video.ico
var %numitems = $findfile($readini(data\mp3.ini, folder, lastfolder), *.*, *, did -a Fsel 1 0 + $iconctrl($1-) 0 0 $nopath($1-))

This is part of the init code - causes it to list the files in a folder, in a list and add icons to it(working with a bit more code). I can select more than one thing on the list at a time, but it only returns the first-selected file. Can anybody help me find out a way to figure out all of the selected files?

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
Responses

  • mdx - Weirdo on Oct 15, 2005, 4:48 PM
  •  
Create your own forum at Network54
 Copyright © 1999-2009 Network54. All rights reserved.   Terms of Use   Privacy Statement