2 * Copyright 2003, 2004 Martin Fuchs
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 // Martin Fuchs, 23.07.2003
29 #define _LIGHT_STARTMENU
30 #define _LAZY_ICONEXTRACT
31 #define _SINGLE_ICONEXTRACT
35 #include "utility/shellclasses.h"
37 #include "shell/entries.h"
40 #include "shell/winfs.h"
43 #include "shell/shellfs.h"
46 #include "shell/unixfs.h"
49 #include "utility/window.h"
52 #define IDW_STATUSBAR 0x100
53 #define IDW_TOOLBAR 0x101
54 #define IDW_EXTRABAR 0x102
55 #define IDW_DRIVEBAR 0x103
56 #define IDW_ADDRESSBAR 0x104
57 #define IDW_SIDEBAR 0x106
58 #define IDW_FIRST_CHILD 0xC000 /*0x200*/
61 #define PM_GET_FILEWND_PTR (WM_APP+0x05)
62 #define PM_GET_SHELLBROWSER_PTR (WM_APP+0x06)
64 #define PM_GET_CONTROLWINDOW (WM_APP+0x16)
66 #define PM_RESIZE_CHILDREN (WM_APP+0x17)
67 #define PM_GET_WIDTH (WM_APP+0x18)
69 #define PM_REFRESH (WM_APP+0x1B)
70 #define PM_REFRESH_CONFIG (WM_APP+0x1C)
73 #define CLASSNAME_FRAME TEXT("CabinetWClass") // same class name for frame window as in MS Explorer
75 #define CLASSNAME_CHILDWND TEXT("WFS_Child")
76 #define CLASSNAME_WINEFILETREE TEXT("WFS_Tree")
79 #include "shell/pane.h"
80 #include "shell/filechild.h"
81 #include "shell/shellbrowser.h"
86 /// Explorer command line parser
87 // for commands like "/e,/root,c:\"
88 // or "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}" (launch of control panel)
93 _cmdShow(SW_SHOWNORMAL
),
99 ExplorerCmd(LPCTSTR url
, bool mdi
)
102 _cmdShow(SW_SHOWNORMAL
),
104 _valid_path(true) //@@
108 bool ParseCmdLine(LPCTSTR lpCmdLine
);
109 bool EvaluateOption(LPCTSTR option
);
110 bool IsValidPath() const;
113 WCHAR szPath
[MAX_PATH
];
114 int _flags
; // OPEN_WINDOW_MODE
120 #include "shell/mainframe.h"