Hello Christoph,
On 12.09.04, Christoph Kimna wrote:
> in my project I use a Dirlist for file handling. Regarding to the MUI
> Autodocs, "MUI_Dirlist_NumFiles" should obtain the number of files in the
> current directory. But the result is evertime a zero.
> LONG result;
> get (App->LV, MUIA_Dirlist_NumFiles, &result);
> printf("This directory has %d files\n", result);
> Is this a bug of the MUI class, or have I something made wrong ?
AFAIR i didn't had luck with that too.
I used:
DoMethod(dirlist, MUIM_Notify, MUIA_List_Entries, MUIV_EveryTime, txtfield, 4,
MUIM_SetAsString, MUIA_Text_Contents, "\33c%ld files.", MUIV_TriggerValue)
in the end for getting the filenumber.
regards,
--
.tokai - christian rosentreter @ http://www.taniquetil.de
ah, leene's bell makes such beautiful music
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/