listbox

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

1st - a string like ..\media\my.mp3 should also work to play the file...

2nd - getAbsolutePath(...) gets you the comlete filename incl. path...

3rd - I think you want to scan a folder and add all mp3 files to a list box...

If so, all previous hints are pretty helpless... ;)

Well, you can get the path with getAbsolutePath(...), then you can use the windows api to scan this path...
check the MSDN for FindFirstFile and FindNextFile
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Post Reply