Code: Select all
{
listbox->addItem(L"Open a sound");
env->addFileOpenDialog(L"Please selecte a sound");
return true;
}
Could you help plz
Code: Select all
{
listbox->addItem(L"Open a sound");
env->addFileOpenDialog(L"Please selecte a sound");
return true;
}
Code: Select all
if (id == 103)
{
listbox->addItem(L"Ouvrir un morceau ");
env->addFileOpenDialog(L"Veuillez choisir un fichier");
std::string filename;
core::stringc longname = getAbsolutePath(filename);
return true;
}
Code: Select all
if (id == 103)
{
listbox->addItem(L"Ouvrir un morceau ");
env->addFileOpenDialog(L"Veuillez choisir un fichier");
std::string filename;
core::stringc longname = getAbsolutePath(filename);
return true;
}
Code: Select all
IGUIListBox* listbox = 0; //<-- declarations for variables
//and this
IGUIEnvironment* env = 0; //<-- this too is needed since this is in local scope