class ExplorerWindow : Window
{
+#ifdef _DEBUG
+ text = "Ecere Explorer (Debug)";
+#else
text = "Ecere Explorer";
+#endif
background = activeBorder;
borderStyle = sizable;
hasMaximize = true;
char * path = view.path;
char * newPath = new char[strlen(path)];
StripLastDirectory(path, newPath);
+ if(!newPath[0])
+ {
+ newPath[0] = '/';
+ newPath[1] = 0;
+ }
view.path = newPath;
delete newPath;
break;
locationBox = addressBar;
navigateFolders = true;
borderStyle = none;
+
+ multiSelect = true;
+
+ bool NotifyNodeOpen(FileSystemBox box, FileSystemNode node)
+ {
+ if(node.type.isFile)
+ {
+ char command[MAX_LOCATION];
+ /*_FileType t = node.type;
+ if(t == ewsFile || t == epjFile ||
+ t == ecFile || t == ehFile ||
+ t == cppFile || t == hppFile ||
+ t == cFile || t == hFile ||
+ t == textFile || t == webFile)*/
+ sprintf(command, "ide %s", node.path);
+ /*else
+ sprintf(command, "%s", node.path);*/
+ ShellOpen(command);
+ }
+ return true;
+ }
};
/*ExplorerSearch search