25 *pClassID = CLSID_SH_FavBand;
29INT CFavBand::_GetRootCsidl()
34DWORD CFavBand::_GetTVStyle()
42DWORD CFavBand::_GetTVExStyle()
47DWORD CFavBand::_GetEnumFlags()
49 return SHCONTF_FOLDERS | SHCONTF_NONFOLDERS;
54#define IDS_FAVORITES 47
66BOOL CFavBand::_WantsRootItem()
73#define IDB_SHELL_EXPLORER_SM 216
82#undef IDB_SHELL_EXPLORER_SM
89 if (!m_hToolbarImageList)
103 m_hwndToolbar.Attach(hwndTB);
137 CComHeapPtr<ITEMIDLIST> pidlTarget;
138 DWORD attrs = SFGAO_FOLDER | SFGAO_LINK;
139 HRESULT hr = GetNavigateTarget(pidl, &pidlTarget, &attrs);
143 if ((attrs & (SFGAO_FOLDER | SFGAO_LINK)) == (SFGAO_FOLDER | SFGAO_LINK))
144 return _UpdateBrowser(pidlTarget);
146 if (attrs & SFGAO_FOLDER)
149 CItemData *pItemData = GetItemData(
hItem);
150 if (pItemData && !pItemData->expanded)
152 _InsertSubitems(
hItem, pItemData->absolutePidl);
153 pItemData->expanded =
TRUE;
163 info.lpIDList = pidlTarget;
168void CFavBand::_SortItems(
HTREEITEM hParent)
180 _InsertSubitems(
TVI_ROOT, m_pidlRoot);
#define IDB_SHELL_EXPLORER_SM
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define UlongToHandle(ul)
static HINSTANCE instance
INT WINAPI ImageList_Add(HIMAGELIST himl, HBITMAP hbmImage, HBITMAP hbmMask)
HIMAGELIST WINAPI ImageList_Create(INT cx, INT cy, UINT flags, INT cInitial, INT cGrow)
#define FAILED_UNEXPECTEDLY(hr)
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryExW(LPCWSTR lpLibFileName, HANDLE hFile, DWORD dwFlags)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
#define TB_SETEXTENDEDSTYLE
#define TreeView_Expand(hwnd, hitem, code)
#define TreeView_SortChildren(hwnd, hitem, recurse)
#define TBSTYLE_EX_MIXEDBUTTONS
#define TB_BUTTONSTRUCTSIZE
#define TVS_SHOWSELALWAYS
#define TVS_FULLROWSELECT
#define TreeView_GetSelection(hwnd)
#define TVS_NONEVENHEIGHT
#define TOOLBARCLASSNAMEW
#define TreeView_SetItemHeight(hwnd, iHeight)
#define SEE_MASK_FLAG_NO_UI
BOOL WINAPI DECLSPEC_HOTPATCH ShellExecuteExW(LPSHELLEXECUTEINFOW sei)
#define LOAD_LIBRARY_AS_DATAFILE
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
#define MAKEINTRESOURCEW(i)
HBITMAP WINAPI LoadBitmapW(_In_opt_ HINSTANCE, _In_ LPCWSTR)