53 const FXint which = FXSELID(sel) - ID_FILE_1 + 1;
55 const FXchar* filename;
57 sprintf(key,
"FILE%d", which);
58 filename = getApp()->reg().readStringEntry(getGroupName().text(), key, NULL);
65 string.format(
"&%d %s", which, filename);
67 string.format(
"1&0 %s", filename);
69 obj->handle(
this, FXSEL(SEL_COMMAND, FXWindow::ID_SETSTRINGVALUE), (
void*)&
string);
70 obj->handle(
this, FXSEL(SEL_COMMAND, FXWindow::ID_SHOW), NULL);
72 obj->handle(
this, FXSEL(SEL_COMMAND, FXWindow::ID_HIDE), NULL);
81 obj->handle(obj, FXSEL(SEL_COMMAND, FXWindow::ID_DISABLE), NULL);
85 if (!indexFilename.second.empty()) {
86 obj->handle(obj, FXSEL(SEL_COMMAND, FXWindow::ID_HIDE), NULL);
91 obj->handle(obj, FXSEL(SEL_COMMAND, FXWindow::ID_SHOW), NULL);