57 const FXint which = FXSELID(sel) - ID_FILE_1 + 1;
59 const FXchar* filename;
61 sprintf(key,
"FILE%d", which);
62 filename = getApp()->reg().readStringEntry(getGroupName().text(), key, NULL);
69 string.format(
"&%d %s", which, filename);
71 string.format(
"1&0 %s", filename);
73 obj->handle(
this, FXSEL(SEL_COMMAND, FXWindow::ID_SETSTRINGVALUE), (
void*)&
string);
74 obj->handle(
this, FXSEL(SEL_COMMAND, FXWindow::ID_SHOW), NULL);
76 obj->handle(
this, FXSEL(SEL_COMMAND, FXWindow::ID_HIDE), NULL);
85 obj->handle(obj, FXSEL(SEL_COMMAND, FXWindow::ID_DISABLE), NULL);
89 if (!indexFilename.second.empty()) {
90 obj->handle(obj, FXSEL(SEL_COMMAND, FXWindow::ID_HIDE), NULL);
95 obj->handle(obj, FXSEL(SEL_COMMAND, FXWindow::ID_SHOW), NULL);