Thank you for your tips. I could solve the problem :) 
It is possible to use MUIA_Dirlist_Status! :

   get (App->LV, MUIA_Dirlist_Status, &status);

   while (status==MUIV_Dirlist_Status_Reading) 
       { 
          DoMethod(App->App,MUIM_Application_InputBuffered);
          get (App->LV, MUIA_Dirlist_Status, &status);
       } 

    get (App->LV_Links, MUIA_Dirlist_NumFiles, &numfiles);
    printf ("%d files in this directory. \n", numfiles)



Without the MUIM_Application_InputBuffered call the program comes in a endless loop, 
because
the status will not change to MUIV_Dirlist_Status_Valid !


Thank you!

with best regards 
   Chris



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/
 

Reply via email to