57 const FXint which = FXSELID(sel) - ID_FILE_1 + 1;
59 const FXString key = FXStringFormat(
"FILE%d", which);
60 const FXchar* filename = getApp()->reg().readStringEntry(getGroupName().text(), key.text(), NULL);
67 string.format(
"&%d %s", which, filename);
69 string.format(
"1&0 %s", filename);
71 obj->handle(
this, FXSEL(SEL_COMMAND, FXWindow::ID_SETSTRINGVALUE), (
void*)&
string);
72 obj->handle(
this, FXSEL(SEL_COMMAND, FXWindow::ID_SHOW), NULL);
74 obj->handle(
this, FXSEL(SEL_COMMAND, FXWindow::ID_HIDE), NULL);
83 obj->handle(obj, FXSEL(SEL_COMMAND, FXWindow::ID_DISABLE), NULL);
87 if (!indexFilename.second.empty()) {
88 obj->handle(obj, FXSEL(SEL_COMMAND, FXWindow::ID_HIDE), NULL);
93 obj->handle(obj, FXSEL(SEL_COMMAND, FXWindow::ID_SHOW), NULL);