66 _root_shell_path(root_shell_path)
127 CONTEXT(
"FileChildWindow::FileChildWindow()");
135 switch(
info._etype) {
147 _root._entry =
new UnixDirectory(
_root._path);
251 else if (
_root._entry)
268 CONTEXT(
"FileChildWindow::set_curdir()");
279 if (!
entry->_scanned)
315 if (!
dir ||
dir->_expanded || !
dir->_down)
320 if (
p->_data.cFileName[0]==
'.' &&
p->_data.cFileName[1]==
'\0' &&
p->_next) {
323 if (
p->_data.cFileName[0]==
'.' &&
p->_data.cFileName[1]==
'.' &&
324 p->_data.cFileName[2]==
'\0' &&
p->_next)
335 dir->_expanded =
true;
371 dir->_expanded =
false;
379 CONTEXT(
"FileChildWindow::create()");
386 mcs.x =
info._pos.rcNormalPosition.left;
387 mcs.y =
info._pos.rcNormalPosition.top;
388 mcs.cx =
info._pos.rcNormalPosition.right -
info._pos.rcNormalPosition.left;
389 mcs.cy =
info._pos.rcNormalPosition.bottom -
info._pos.rcNormalPosition.top;
396 if (!
child->_left_hwnd && !
child->_right_hwnd) {
589 int scanned_old =
entry->_scanned;
601 }
else if (
entry->_expanded)
620 entry->launch_entry(_hwnd);
627 CONTEXT(
"FileChildWindow::scan_entry()");
646 entry->free_subentries();
647 entry->_expanded =
false;
650 entry->read_directory_base(
_root._sort_order);
678 switch(
_root._entry->_etype) {
static struct myctx * mcs
VOID WaitCursor(BOOL bBegin)
#define INVALID_HANDLE_VALUE
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
#define CLASSNAME_WINEFILETREE
#define PM_GET_FILEWND_PTR
@ OWM_DETAILS
"rooted" window with special shell namespace root
ExplorerGlobals g_Globals
bool SplitFileSysURL(LPCTSTR url, String &dir_out, String &fname_out)
#define PM_DISPATCH_COMMAND
#define WINDOW_CREATOR_INFO(WND_CLASS, INFO_CLASS)
#define FILE_ATTRIBUTE_DIRECTORY
_Out_opt_ int _Out_opt_ int * cy
#define Header_Layout(hwndHD, playout)
ShellFolder & GetDesktopFolder()
stack< String > _url_history
void set_url(LPCTSTR url)
information structure for creation of a MDI child window
Shell folder path of the desktop.
base of all file and directory entries
virtual bool get_path(PTSTR path, size_t path_count) const =0
The "Execute..."-dialog lets the user enter a command line to launch.
static INT_PTR CALLBACK WndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam)
CtxMenuInterfaces _cm_ifs
LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
FATChildWndInfo(HWND hmdiclient, LPCTSTR path)
MDI child window displaying file lists.
void set_curdir(Entry *entry)
void activate_entry(Pane *pane)
bool expand_entry(Entry *dir)
FileChildWindow(HWND hwnd, const FileChildWndInfo &info)
void scan_entry(Entry *entry)
int Notify(int id, NMHDR *pnmh)
static FileChildWindow * create(const FileChildWndInfo &info)
static void collapse_entry(Pane *pane, Entry *dir)
int Command(int id, int code)
LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
virtual void resize_children(int cx, int cy)
virtual String jump_to_int(LPCTSTR url)
information structure for creation of FileChildWindow
FileChildWndInfo(HWND hmdiclient, LPCTSTR path, ENTRY_TYPE etype=ET_UNKNOWN)
NtObjChildWndInfo(HWND hmdiclient, LPCTSTR path)
NtObj file system directory-entry.
child window pane for displaying file lists
int insert_entries(Entry *dir, int idx=-1)
bool calc_widths(bool anyway)
void draw_item(LPDRAWITEMSTRUCT dis, Entry *entry, int calcWidthCol=-1)
RegistryChildWndInfo(HWND hmdiclient, LPCTSTR path)
information structure for creation of MDIShellBrowserChild
ShellChildWndInfo(HWND hmdiclient, LPCTSTR path, const ShellPath &root_shell_path)
wrapper class for item ID lists
WebChildWndInfo(HWND hmdiclient, LPCTSTR url)
Windows file system directory-entry.
static Window * create_mdi_child(const ChildWndInfo &info, const MDICREATESTRUCT &mcs, CREATORFUNC_INFO creator)
void push(const value_type &__x)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
#define GetVolumeInformation
#define SetCurrentDirectory
#define Button_GetState(hwndCtl)
#define ListBox_GetCurSel(hwndCtl)
#define ListBox_FindItemData(hwndCtl, indexStart, data)
#define ListBox_DeleteString(hwndCtl, index)
#define ListBox_SetCurSel(hwndCtl, index)
#define ListBox_GetItemData(hwndCtl, index)
#define ListBox_ResetContent(hwndCtl)
HWND WINAPI GetFocus(void)
struct tagDRAWITEMSTRUCT * LPDRAWITEMSTRUCT
BOOL WINAPI EndDeferWindowPos(_In_ HDWP)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
HWND WINAPI SetFocus(_In_opt_ HWND)
HWND WINAPI GetParent(_In_ HWND)
HDWP WINAPI DeferWindowPos(_In_ HDWP, _In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
struct _WINDOWPLACEMENT WINDOWPLACEMENT
HDWP WINAPI BeginDeferWindowPos(_In_ int)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
BOOL WINAPI ScreenToClient(_In_ HWND, _Inout_ LPPOINT)