ReactOS  0.4.15-dev-4857-g47842d7
CMenuSFToolbar Class Reference

#include <CMenuToolbars.h>

Inheritance diagram for CMenuSFToolbar:
Collaboration diagram for CMenuSFToolbar:

Public Member Functions

 CMenuSFToolbar (CMenuBand *menuBand)
 
virtual ~CMenuSFToolbar ()
 
HRESULT SetShellFolder (IShellFolder *psf, LPCITEMIDLIST pidlFolder, HKEY hKey, DWORD dwFlags)
 
HRESULT GetShellFolder (DWORD *pdwFlags, LPITEMIDLIST *ppidl, REFIID riid, void **ppv)
 
virtual HRESULT FillToolbar (BOOL clearFirst=FALSE)
 
- Public Member Functions inherited from CMenuToolbarBase
 CMenuToolbarBase (CMenuBand *menuBand, BOOL usePager)
 
virtual ~CMenuToolbarBase ()
 
HRESULT IsWindowOwner (HWND hwnd)
 
HRESULT CreateToolbar (HWND hwndParent, DWORD dwFlags)
 
HRESULT GetWindow (HWND *phwnd)
 
HRESULT ShowDW (BOOL fShow)
 
HRESULT Close ()
 
HRESULT OnWinEvent (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *theResult)
 
HRESULT ChangeHotItem (CMenuToolbarBase *toolbar, INT item, DWORD dwFlags)
 
HRESULT ChangePopupItem (CMenuToolbarBase *toolbar, INT item)
 
HRESULT PopupSubMenu (UINT itemId, UINT index, IShellMenu *childShellMenu, BOOL keyInitiated)
 
HRESULT PopupSubMenu (UINT itemId, UINT index, HMENU menu)
 
HRESULT TrackContextMenu (IContextMenu *contextMenu, POINT pt)
 
HRESULT KeyboardItemChange (DWORD changeType)
 
HRESULT PrepareExecuteItem (INT iItem)
 
HRESULT ExecuteItem ()
 
HRESULT GetSizes (SIZE *pMinSize, SIZE *pMaxSize, SIZE *pIntegralSize)
 
HRESULT SetPosSize (int x, int y, int cx, int cy)
 
void InvalidateDraw ()
 
HRESULT DisableMouseTrack (BOOL bDisable)
 
HRESULT CancelCurrentPopup ()
 
HRESULT PopupItem (INT iItem, BOOL keyInitiated)
 
HRESULT GetDataFromId (INT iItem, INT *pIndex, DWORD_PTR *pData)
 
HRESULT KillPopupTimer ()
 
HRESULT MenuBarMouseDown (INT iIndex, BOOL isLButton)
 
HRESULT MenuBarMouseUp (INT iIndex, BOOL isLButton)
 
HRESULT ProcessClick (INT iItem)
 
HRESULT ProcessContextMenu (INT iItem)
 
HRESULT BeforeCancelPopup ()
 

Protected Member Functions

virtual HRESULT OnDeletingButton (const NMTOOLBAR *tb)
 
virtual HRESULT InternalGetTooltip (INT iItem, INT index, DWORD_PTR dwData, LPWSTR pszText, INT cchTextMax)
 
virtual HRESULT InternalExecuteItem (INT iItem, INT index, DWORD_PTR dwData)
 
virtual HRESULT InternalPopupItem (INT iItem, INT index, DWORD_PTR dwData, BOOL keyInitiated)
 
virtual HRESULT InternalHasSubMenu (INT iItem, INT index, DWORD_PTR dwData)
 
virtual HRESULT InternalContextMenu (INT iItem, INT index, DWORD_PTR dwData, POINT pt)
 
- Protected Member Functions inherited from CMenuToolbarBase
HRESULT AddButton (DWORD commandId, LPCWSTR caption, BOOL hasSubMenu, INT iconId, DWORD_PTR buttonData, BOOL last)
 
HRESULT AddSeparator (BOOL last)
 
HRESULT AddPlaceholder ()
 
HRESULT ClearToolbar ()
 
HWND GetToolbar ()
 

Private Attributes

CComPtr< IShellFolderm_shellFolder
 
LPCITEMIDLIST m_idList
 
HKEY m_hKey
 

Additional Inherited Members

- Protected Attributes inherited from CMenuToolbarBase
CMenuBandm_menuBand
 
DWORD m_dwMenuFlags
 
BOOL m_hasSizes
 
SIZE m_idealSize
 
SIZE m_itemSize
 
BOOL m_usePager
 
CMenuToolbarBasem_hotBar
 
INT m_hotItem
 
CMenuToolbarBasem_popupBar
 
INT m_popupItem
 
DWORD m_initFlags
 
BOOL m_isTrackingPopup
 
INT m_executeIndex
 
INT m_executeItem
 
DWORD_PTR m_executeData
 
BOOL m_cancelingPopup
 

Detailed Description

Definition at line 167 of file CMenuToolbars.h.

Constructor & Destructor Documentation

◆ CMenuSFToolbar()

CMenuSFToolbar::CMenuSFToolbar ( CMenuBand menuBand)

Definition at line 1294 of file CMenuToolbars.cpp.

1294  :
1295  CMenuToolbarBase(menuBand, TRUE),
1297  m_idList(NULL),
1298  m_hKey(NULL)
1299 {
1300 }
CMenuToolbarBase(CMenuBand *menuBand, BOOL usePager)
#define TRUE
Definition: types.h:120
CComPtr< IShellFolder > m_shellFolder
#define NULL
Definition: types.h:112
LPCITEMIDLIST m_idList

◆ ~CMenuSFToolbar()

CMenuSFToolbar::~CMenuSFToolbar ( )
virtual

Definition at line 1302 of file CMenuToolbars.cpp.

1303 {
1304 }

Member Function Documentation

◆ FillToolbar()

HRESULT CMenuSFToolbar::FillToolbar ( BOOL  clearFirst = FALSE)
virtual

Implements CMenuToolbarBase.

Definition at line 1320 of file CMenuToolbars.cpp.

1321 {
1322  HRESULT hr;
1323 
1324  CComPtr<IEnumIDList> eidl;
1325  hr = m_shellFolder->EnumObjects(GetToolbar(), SHCONTF_FOLDERS | SHCONTF_NONFOLDERS, &eidl);
1326  if (FAILED_UNEXPECTEDLY(hr))
1327  return hr;
1328 
1329  HDPA dpaSort = DPA_Create(10);
1330 
1332  hr = eidl->Next(1, &item, NULL);
1333  while (hr == S_OK)
1334  {
1335  if (m_menuBand->_CallCBWithItemPidl(item, 0x10000000, 0, 0) == S_FALSE)
1336  {
1337  DPA_AppendPtr(dpaSort, item);
1338  }
1339  else
1340  {
1342  }
1343 
1344  hr = eidl->Next(1, &item, NULL);
1345  }
1346 
1347  // If no items were added, show the "empty" placeholder
1348  if (DPA_GetPtrCount(dpaSort) == 0)
1349  {
1350  DPA_Destroy(dpaSort);
1351  return AddPlaceholder();
1352  }
1353 
1354  TRACE("FillToolbar added %d items to the DPA\n", DPA_GetPtrCount(dpaSort));
1355 
1357 
1358  for (int i = 0; i<DPA_GetPtrCount(dpaSort);)
1359  {
1360  PWSTR MenuString;
1361 
1362  INT index = 0;
1363  INT indexOpen = 0;
1364 
1365  STRRET sr = { STRRET_CSTR, { 0 } };
1366 
1367  item = (LPITEMIDLIST)DPA_GetPtr(dpaSort, i);
1368 
1369  hr = m_shellFolder->GetDisplayNameOf(item, SIGDN_NORMALDISPLAY, &sr);
1370  if (FAILED_UNEXPECTEDLY(hr))
1371  {
1372  DPA_Destroy(dpaSort);
1373  return hr;
1374  }
1375 
1376  StrRetToStr(&sr, NULL, &MenuString);
1377 
1379 
1380  LPCITEMIDLIST itemc = item;
1381 
1382  SFGAOF attrs = SFGAO_FOLDER;
1383  hr = m_shellFolder->GetAttributesOf(1, &itemc, &attrs);
1384 
1385  DWORD_PTR dwData = reinterpret_cast<DWORD_PTR>(item);
1386 
1387  // Fetch next item already, so we know if the current one is the last
1388  i++;
1389 
1390  AddButton(i, MenuString, attrs & SFGAO_FOLDER, index, dwData, i >= DPA_GetPtrCount(dpaSort));
1391 
1392  CoTaskMemFree(MenuString);
1393  }
1394 
1395  DPA_Destroy(dpaSort);
1396  return hr;
1397 }
HRESULT AddPlaceholder()
HRESULT AddButton(DWORD commandId, LPCWSTR caption, BOOL hasSubMenu, INT iconId, DWORD_PTR buttonData, BOOL last)
HDPA WINAPI DPA_Create(INT nGrow)
Definition: dpa.c:950
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:442
HRESULT hr
Definition: shlfolder.c:183
BOOL WINAPI DPA_Destroy(HDPA hdpa)
Definition: dpa.c:396
uint16_t * PWSTR
Definition: typedefs.h:56
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
static HANDLE ULONG_PTR dwData
Definition: file.c:35
int32_t INT
Definition: typedefs.h:58
#define DPA_AppendPtr(hdpa, pitem)
Definition: commctrl.h:4958
CComPtr< IShellFolder > m_shellFolder
int CALLBACK PidlListSort(void *item1, void *item2, LPARAM lParam)
#define S_FALSE
Definition: winerror.h:2357
LONG_PTR LPARAM
Definition: windef.h:208
#define DPA_GetPtrCount(hdpa)
Definition: commctrl.h:4955
GLuint index
Definition: glext.h:6031
HRESULT _CallCBWithItemPidl(LPITEMIDLIST pidl, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: CMenuBand.cpp:773
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:79
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:82
BOOL WINAPI DPA_Sort(HDPA hdpa, PFNDPACOMPARE pfnCompare, LPARAM lParam)
Definition: dpa.c:813
uint32_t DWORD_PTR
Definition: typedefs.h:65
#define S_OK
Definition: intsafe.h:52
static ATOM item
Definition: dde.c:856
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define DPA_GetPtr
Definition: commctrl.h:5
#define NULL
Definition: types.h:112
CMenuBand * m_menuBand
Definition: CMenuToolbars.h:39
int WINAPI SHMapPIDLToSystemImageListIndex(IShellFolder *sh, LPCITEMIDLIST pidl, int *pIndex)
Definition: iconcache.cpp:783
#define StrRetToStr
Definition: shlwapi.h:1751
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition: shtypes.idl:41
static IShellFolder IShellItem **static IBindCtx LPITEMIDLIST SFGAOF
Definition: ebrowser.c:83
Definition: dpa.c:48

Referenced by CMenuBand::SetShellFolder(), and CMenuBand::SetSite().

◆ GetShellFolder()

HRESULT CMenuSFToolbar::GetShellFolder ( DWORD pdwFlags,
LPITEMIDLIST ppidl,
REFIID  riid,
void **  ppv 
)

Definition at line 1425 of file CMenuToolbars.cpp.

1426 {
1427  HRESULT hr;
1428 
1429  hr = m_shellFolder->QueryInterface(riid, ppv);
1430  if (FAILED_UNEXPECTEDLY(hr))
1431  return hr;
1432 
1433  if (pdwFlags)
1434  *pdwFlags = m_dwMenuFlags;
1435 
1436  if (ppidl)
1437  {
1438  LPITEMIDLIST pidl = NULL;
1439 
1440  if (m_idList)
1441  {
1442  pidl = ILClone(m_idList);
1443  if (!pidl)
1444  {
1445  ERR("ILClone failed!\n");
1446  (*reinterpret_cast<IUnknown**>(ppv))->Release();
1447  return E_FAIL;
1448  }
1449  }
1450 
1451  *ppidl = pidl;
1452  }
1453 
1454  return hr;
1455 }
HRESULT hr
Definition: shlfolder.c:183
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define E_FAIL
Definition: ddrawi.h:102
CComPtr< IShellFolder > m_shellFolder
LONG HRESULT
Definition: typedefs.h:79
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:82
#define ERR(fmt,...)
Definition: debug.h:110
_In_ BOOLEAN Release
Definition: cdrom.h:920
LPITEMIDLIST WINAPI ILClone(LPCITEMIDLIST pidl)
Definition: pidl.c:228
#define NULL
Definition: types.h:112
LPCITEMIDLIST m_idList
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition: shtypes.idl:41

Referenced by CMenuBand::_CallCB(), and CMenuBand::GetShellFolder().

◆ InternalContextMenu()

HRESULT CMenuSFToolbar::InternalContextMenu ( INT  iItem,
INT  index,
DWORD_PTR  dwData,
POINT  pt 
)
protectedvirtual

Implements CMenuToolbarBase.

Definition at line 1457 of file CMenuToolbars.cpp.

1458 {
1459  HRESULT hr;
1460  CComPtr<IContextMenu> contextMenu = NULL;
1461  LPCITEMIDLIST pidl = reinterpret_cast<LPCITEMIDLIST>(dwData);
1462 
1463  hr = m_shellFolder->GetUIObjectOf(GetToolbar(), 1, &pidl, IID_NULL_PPV_ARG(IContextMenu, &contextMenu));
1464  if (FAILED_UNEXPECTEDLY(hr))
1465  {
1466  return hr;
1467  }
1468 
1469  hr = TrackContextMenu(contextMenu, pt);
1470 
1471  return hr;
1472 }
HRESULT hr
Definition: shlfolder.c:183
#define pt(x, y)
Definition: drawing.c:79
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
static HANDLE ULONG_PTR dwData
Definition: file.c:35
CComPtr< IShellFolder > m_shellFolder
#define IID_NULL_PPV_ARG(Itype, ppType)
LONG HRESULT
Definition: typedefs.h:79
HRESULT TrackContextMenu(IContextMenu *contextMenu, POINT pt)
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:82
#define NULL
Definition: types.h:112

◆ InternalExecuteItem()

HRESULT CMenuSFToolbar::InternalExecuteItem ( INT  iItem,
INT  index,
DWORD_PTR  dwData 
)
protectedvirtual

Implements CMenuToolbarBase.

Definition at line 1474 of file CMenuToolbars.cpp.

1475 {
1476  return m_menuBand->_CallCBWithItemPidl(reinterpret_cast<LPITEMIDLIST>(data), SMC_SFEXEC, 0, 0);
1477 }
HRESULT _CallCBWithItemPidl(LPITEMIDLIST pidl, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: CMenuBand.cpp:773
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
CMenuBand * m_menuBand
Definition: CMenuToolbars.h:39

◆ InternalGetTooltip()

HRESULT CMenuSFToolbar::InternalGetTooltip ( INT  iItem,
INT  index,
DWORD_PTR  dwData,
LPWSTR  pszText,
INT  cchTextMax 
)
protectedvirtual

Implements CMenuToolbarBase.

Definition at line 1399 of file CMenuToolbars.cpp.

1400 {
1401  //ITEMIDLIST * pidl = reinterpret_cast<LPITEMIDLIST>(dwData);
1402  UNIMPLEMENTED;
1403  return E_NOTIMPL;
1404 }
#define E_NOTIMPL
Definition: ddrawi.h:99
#define UNIMPLEMENTED
Definition: debug.h:115

◆ InternalHasSubMenu()

HRESULT CMenuSFToolbar::InternalHasSubMenu ( INT  iItem,
INT  index,
DWORD_PTR  dwData 
)
protectedvirtual

Implements CMenuToolbarBase.

Definition at line 1516 of file CMenuToolbars.cpp.

1517 {
1518  HRESULT hr;
1519  LPCITEMIDLIST pidl = reinterpret_cast<LPITEMIDLIST>(dwData);
1520 
1521  SFGAOF attrs = SFGAO_FOLDER;
1522  hr = m_shellFolder->GetAttributesOf(1, &pidl, &attrs);
1523  if (FAILED_UNEXPECTEDLY(hr))
1524  return hr;
1525 
1526  return (attrs & SFGAO_FOLDER) ? S_OK : S_FALSE;
1527 }
HRESULT hr
Definition: shlfolder.c:183
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
static HANDLE ULONG_PTR dwData
Definition: file.c:35
CComPtr< IShellFolder > m_shellFolder
#define S_FALSE
Definition: winerror.h:2357
LONG HRESULT
Definition: typedefs.h:79
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:82
#define S_OK
Definition: intsafe.h:52
static IShellFolder IShellItem **static IBindCtx LPITEMIDLIST SFGAOF
Definition: ebrowser.c:83

◆ InternalPopupItem()

HRESULT CMenuSFToolbar::InternalPopupItem ( INT  iItem,
INT  index,
DWORD_PTR  dwData,
BOOL  keyInitiated 
)
protectedvirtual

Implements CMenuToolbarBase.

Definition at line 1479 of file CMenuToolbars.cpp.

1480 {
1481  HRESULT hr;
1482  UINT uId;
1483  UINT uIdAncestor;
1484  DWORD flags;
1485  CComPtr<IShellMenuCallback> psmc;
1486  CComPtr<IShellMenu> shellMenu;
1487 
1488  LPITEMIDLIST pidl = reinterpret_cast<LPITEMIDLIST>(dwData);
1489 
1490  if (!pidl)
1491  return E_FAIL;
1492 
1494  if (FAILED_UNEXPECTEDLY(hr))
1495  return hr;
1496 
1497  m_menuBand->GetMenuInfo(&psmc, &uId, &uIdAncestor, &flags);
1498 
1499  // FIXME: not sure what to use as uId/uIdAncestor here
1500  hr = shellMenu->Initialize(psmc, 0, uId, SMINIT_VERTICAL);
1501  if (FAILED_UNEXPECTEDLY(hr))
1502  return hr;
1503 
1504  CComPtr<IShellFolder> childFolder;
1505  hr = m_shellFolder->BindToObject(pidl, NULL, IID_PPV_ARG(IShellFolder, &childFolder));
1506  if (FAILED_UNEXPECTEDLY(hr))
1507  return hr;
1508 
1509  hr = shellMenu->SetShellFolder(childFolder, NULL, NULL, SMSET_TOP);
1510  if (FAILED_UNEXPECTEDLY(hr))
1511  return hr;
1512 
1513  return PopupSubMenu(iItem, index, shellMenu, keyInitiated);
1514 }
HRESULT hr
Definition: shlfolder.c:183
static HANDLE ULONG_PTR dwData
Definition: file.c:35
virtual HRESULT STDMETHODCALLTYPE GetMenuInfo(IShellMenuCallback **ppsmc, UINT *puId, UINT *puIdAncestor, DWORD *pdwFlags)
Definition: CMenuBand.cpp:91
#define IID_PPV_ARG(Itype, ppType)
#define E_FAIL
Definition: ddrawi.h:102
CComPtr< IShellFolder > m_shellFolder
GLuint index
Definition: glext.h:6031
LONG HRESULT
Definition: typedefs.h:79
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:82
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
HRESULT PopupSubMenu(UINT itemId, UINT index, IShellMenu *childShellMenu, BOOL keyInitiated)
#define CMenuBand_CreateInstance
Definition: shellmenu.h:81
unsigned int UINT
Definition: ndis.h:50
#define NULL
Definition: types.h:112
CMenuBand * m_menuBand
Definition: CMenuToolbars.h:39
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition: shtypes.idl:41

◆ OnDeletingButton()

HRESULT CMenuSFToolbar::OnDeletingButton ( const NMTOOLBAR tb)
protectedvirtual

Implements CMenuToolbarBase.

Definition at line 1406 of file CMenuToolbars.cpp.

1407 {
1408  ILFree(reinterpret_cast<LPITEMIDLIST>(tb->tbButton.dwData));
1409  return S_OK;
1410 }
void WINAPI ILFree(LPITEMIDLIST pidl)
Definition: pidl.c:925
static const WCHAR tb[]
Definition: suminfo.c:285
#define S_OK
Definition: intsafe.h:52

◆ SetShellFolder()

HRESULT CMenuSFToolbar::SetShellFolder ( IShellFolder psf,
LPCITEMIDLIST  pidlFolder,
HKEY  hKey,
DWORD  dwFlags 
)

Definition at line 1412 of file CMenuToolbars.cpp.

1413 {
1414  m_shellFolder = psf;
1415  m_idList = ILClone(pidlFolder);
1416  m_hKey = hKey;
1418 
1419  if (IsWindow())
1420  ClearToolbar();
1421 
1422  return S_OK;
1423 }
BOOL WINAPI IsWindow(_In_opt_ HWND)
CComPtr< IShellFolder > m_shellFolder
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define S_OK
Definition: intsafe.h:52
FxAutoRegKey hKey
LPITEMIDLIST WINAPI ILClone(LPCITEMIDLIST pidl)
Definition: pidl.c:228
LPCITEMIDLIST m_idList

Referenced by CMenuBand::SetShellFolder().

Member Data Documentation

◆ m_hKey

HKEY CMenuSFToolbar::m_hKey
private

Definition at line 173 of file CMenuToolbars.h.

Referenced by SetShellFolder().

◆ m_idList

LPCITEMIDLIST CMenuSFToolbar::m_idList
private

Definition at line 172 of file CMenuToolbars.h.

Referenced by GetShellFolder(), and SetShellFolder().

◆ m_shellFolder

CComPtr<IShellFolder> CMenuSFToolbar::m_shellFolder
private

The documentation for this class was generated from the following files: