bool Editor :: Open() { bStringList *sl; wStdFileOpenDialog fdlg; Document *doc; wPointl pos(5,5); fdlg.ChangeStyle(FdaCenter | FdaHelpButton | FdaMultipleSel); fdlg.SetInitialDrive('C'); if (fdlg.CreateWindow(this) == DidOK) { sl = fdlg.GetFilesChosen(); for (sl->First() ; sl->Current() ; sl->Next()) { doc = new Document(this, *(sl->Current())); doc->ChangePosition(pos); pos += wPointl(10,10); } delete sl; return TRUE; } return FALSE; }