28#include "../utility/treedroptarget.h"
29#include "../utility/shellbrowserimpl.h"
182#define C_DRIVE_STR TEXT("C:\\")
188#define C_DRIVE C_DRIVE_STR
235 default:
return super::Notify(
id, pnmh);
238 return super::Notify(
id, pnmh);
248 ShellBrowserChildT<ChildWindow>
static BOOL expand(LPINT ac, LPTSTR **arg, LPCTSTR pattern)
#define STDMETHODCALLTYPE
OLE drop target for tree controls.
_Tp * get() const _STLP_NOTHROW
#define WM_GETISHELLBROWSER
#define PM_GET_CONTROLWINDOW
#define PM_GET_SHELLBROWSER_PTR
static HMODULE MODULEINFO DWORD cb
static const struct access_res create[16]
#define TVN_ITEMEXPANDING
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
virtual void entry_selected(Entry *entry)=0
virtual ~BrowserCallback()
base of all file and directory entries
Implementation of IShellBrowser and ICommDlgBrowser interfaces for explorer child windows (see ShellB...
ExtContextMenuHandlerT< ShellBrowserChildT< ChildWindow > > super
LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
ShellChildWndInfo _create_info
virtual void entry_selected(Entry *entry)
void update_shell_browser()
ShellPathInfo _shellpath_info
virtual String jump_to_int(LPCTSTR url)
root entry for file system trees
ShellBrowserChildT(HWND hwnd)
LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
int Notify(int id, NMHDR *pnmh)
ShellBrowserChildT(HWND hwnd, const ShellChildWndInfo &info)
auto_ptr< ShellBrowser > _shellBrowser
Implementation of IShellBrowserImpl interface in explorer child windows.
HRESULT OnDefaultCommand(LPIDA pida)
TreeDropTarget * _pDropTarget
void OnTreeItemSelected(int idCtrl, LPNMTREEVIEW pnmtv)
IComSrvBase< IShellFolderViewCB, ShellBrowser > super
void UpdateFolderView(IShellFolder *folder)
WindowHandle & _right_hwnd
virtual HRESULT STDMETHODCALLTYPE SendControlMsg(UINT id, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *pret)
void OnTreeItemExpanding(int idCtrl, LPNMTREEVIEW pnmtv)
const Root & get_root() const
int InsertSubitems(HTREEITEM hParentItem, Entry *entry, IShellFolder *pParentFolder)
void jump_to(LPCITEMIDLIST pidl)
virtual HRESULT STDMETHODCALLTYPE MessageSFVCB(UINT uMsg, WPARAM wParam, LPARAM lParam)
shell view callback
BrowserCallback * _callback
virtual HRESULT STDMETHODCALLTYPE GetControlWindow(UINT id, HWND *lphwnd)
CtxMenuInterfaces & _cm_ifs
virtual HRESULT STDMETHODCALLTYPE QueryActiveShellView(IShellView **ppshv)
bool jump_to_pidl(LPCITEMIDLIST pidl)
map< int, int > _image_map
bool select_folder(Entry *entry, bool expand)
HTREEITEM select_entry(HTREEITEM hitem, Entry *entry, bool expand=true)
ShellPathInfo & _create_info
virtual HRESULT STDMETHODCALLTYPE GetWindow(HWND *lphwnd)
ShellDirectory * _cur_dir
void OnTreeItemRClick(int idCtrl, LPNMHDR pnmh)
void OnTreeGetDispInfo(int idCtrl, LPNMHDR pnmh)
int get_image_idx(int icon_id)
information structure for creation of MDIShellBrowserChild
IShellFolder smart pointer.
information structure to hold current shell folder information
ShellPathInfo(int mode=0)
ShellPathInfo(const ShellChildWndInfo &info)
ShellPath _root_shell_path
wrapper class for item ID lists
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
#define TranslateAccelerator