ReactOS  0.4.15-dev-3303-g1ade494
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 1292 of file CMenuToolbars.cpp.

1292  :
1293  CMenuToolbarBase(menuBand, TRUE),
1295  m_idList(NULL),
1296  m_hKey(NULL)
1297 {
1298 }
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 1300 of file CMenuToolbars.cpp.

1301 {
1302 }

Member Function Documentation

◆ FillToolbar()

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

Implements CMenuToolbarBase.

Definition at line 1318 of file CMenuToolbars.cpp.

1319 {
1320  HRESULT hr;
1321 
1322  CComPtr<IEnumIDList> eidl;
1323  hr = m_shellFolder->EnumObjects(GetToolbar(), SHCONTF_FOLDERS | SHCONTF_NONFOLDERS, &eidl);
1324  if (FAILED_UNEXPECTEDLY(hr))
1325  return hr;
1326 
1327  HDPA dpaSort = DPA_Create(10);
1328 
1330  hr = eidl->Next(1, &item, NULL);
1331  while (hr == S_OK)
1332  {
1333  if (m_menuBand->_CallCBWithItemPidl(item, 0x10000000, 0, 0) == S_FALSE)
1334  {
1335  DPA_AppendPtr(dpaSort, item);
1336  }
1337  else
1338  {
1340  }
1341 
1342  hr = eidl->Next(1, &item, NULL);
1343  }
1344 
1345  // If no items were added, show the "empty" placeholder
1346  if (DPA_GetPtrCount(dpaSort) == 0)
1347  {
1348  DPA_Destroy(dpaSort);
1349  return AddPlaceholder();
1350  }
1351 
1352  TRACE("FillToolbar added %d items to the DPA\n", DPA_GetPtrCount(dpaSort));
1353 
1355 
1356  for (int i = 0; i<DPA_GetPtrCount(dpaSort);)
1357  {
1358  PWSTR MenuString;
1359 
1360  INT index = 0;
1361  INT indexOpen = 0;
1362 
1363  STRRET sr = { STRRET_CSTR, { 0 } };
1364 
1365  item = (LPITEMIDLIST)DPA_GetPtr(dpaSort, i);
1366 
1367  hr = m_shellFolder->GetDisplayNameOf(item, SIGDN_NORMALDISPLAY, &sr);
1368  if (FAILED_UNEXPECTEDLY(hr))
1369  {
1370  DPA_Destroy(dpaSort);
1371  return hr;
1372  }
1373 
1374  StrRetToStr(&sr, NULL, &MenuString);
1375 
1377 
1378  LPCITEMIDLIST itemc = item;
1379 
1380  SFGAOF attrs = SFGAO_FOLDER;
1381  hr = m_shellFolder->GetAttributesOf(1, &itemc, &attrs);
1382 
1383  DWORD_PTR dwData = reinterpret_cast<DWORD_PTR>(item);
1384 
1385  // Fetch next item already, so we know if the current one is the last
1386  i++;
1387 
1388  AddButton(i, MenuString, attrs & SFGAO_FOLDER, index, dwData, i >= DPA_GetPtrCount(dpaSort));
1389 
1390  CoTaskMemFree(MenuString);
1391  }
1392 
1393  DPA_Destroy(dpaSort);
1394  return hr;
1395 }
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:789
#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 1423 of file CMenuToolbars.cpp.

1424 {
1425  HRESULT hr;
1426 
1427  hr = m_shellFolder->QueryInterface(riid, ppv);
1428  if (FAILED_UNEXPECTEDLY(hr))
1429  return hr;
1430 
1431  if (pdwFlags)
1432  *pdwFlags = m_dwMenuFlags;
1433 
1434  if (ppidl)
1435  {
1436  LPITEMIDLIST pidl = NULL;
1437 
1438  if (m_idList)
1439  {
1440  pidl = ILClone(m_idList);
1441  if (!pidl)
1442  {
1443  ERR("ILClone failed!\n");
1444  (*reinterpret_cast<IUnknown**>(ppv))->Release();
1445  return E_FAIL;
1446  }
1447  }
1448 
1449  *ppidl = pidl;
1450  }
1451 
1452  return hr;
1453 }
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 1455 of file CMenuToolbars.cpp.

1456 {
1457  HRESULT hr;
1458  CComPtr<IContextMenu> contextMenu = NULL;
1459  LPCITEMIDLIST pidl = reinterpret_cast<LPCITEMIDLIST>(dwData);
1460 
1461  hr = m_shellFolder->GetUIObjectOf(GetToolbar(), 1, &pidl, IID_NULL_PPV_ARG(IContextMenu, &contextMenu));
1462  if (FAILED_UNEXPECTEDLY(hr))
1463  {
1464  return hr;
1465  }
1466 
1467  hr = TrackContextMenu(contextMenu, pt);
1468 
1469  return hr;
1470 }
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 1472 of file CMenuToolbars.cpp.

1473 {
1474  return m_menuBand->_CallCBWithItemPidl(reinterpret_cast<LPITEMIDLIST>(data), SMC_SFEXEC, 0, 0);
1475 }
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 1397 of file CMenuToolbars.cpp.

1398 {
1399  //ITEMIDLIST * pidl = reinterpret_cast<LPITEMIDLIST>(dwData);
1400  UNIMPLEMENTED;
1401  return E_NOTIMPL;
1402 }
#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 1514 of file CMenuToolbars.cpp.

1515 {
1516  HRESULT hr;
1517  LPCITEMIDLIST pidl = reinterpret_cast<LPITEMIDLIST>(dwData);
1518 
1519  SFGAOF attrs = SFGAO_FOLDER;
1520  hr = m_shellFolder->GetAttributesOf(1, &pidl, &attrs);
1521  if (FAILED_UNEXPECTEDLY(hr))
1522  return hr;
1523 
1524  return (attrs & SFGAO_FOLDER) ? S_OK : S_FALSE;
1525 }
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 1477 of file CMenuToolbars.cpp.

1478 {
1479  HRESULT hr;
1480  UINT uId;
1481  UINT uIdAncestor;
1482  DWORD flags;
1483  CComPtr<IShellMenuCallback> psmc;
1484  CComPtr<IShellMenu> shellMenu;
1485 
1486  LPITEMIDLIST pidl = reinterpret_cast<LPITEMIDLIST>(dwData);
1487 
1488  if (!pidl)
1489  return E_FAIL;
1490 
1492  if (FAILED_UNEXPECTEDLY(hr))
1493  return hr;
1494 
1495  m_menuBand->GetMenuInfo(&psmc, &uId, &uIdAncestor, &flags);
1496 
1497  // FIXME: not sure what to use as uId/uIdAncestor here
1498  hr = shellMenu->Initialize(psmc, 0, uId, SMINIT_VERTICAL);
1499  if (FAILED_UNEXPECTEDLY(hr))
1500  return hr;
1501 
1502  CComPtr<IShellFolder> childFolder;
1503  hr = m_shellFolder->BindToObject(pidl, NULL, IID_PPV_ARG(IShellFolder, &childFolder));
1504  if (FAILED_UNEXPECTEDLY(hr))
1505  return hr;
1506 
1507  hr = shellMenu->SetShellFolder(childFolder, NULL, NULL, SMSET_TOP);
1508  if (FAILED_UNEXPECTEDLY(hr))
1509  return hr;
1510 
1511  return PopupSubMenu(iItem, index, shellMenu, keyInitiated);
1512 }
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 1404 of file CMenuToolbars.cpp.

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

◆ SetShellFolder()

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

Definition at line 1410 of file CMenuToolbars.cpp.

1411 {
1412  m_shellFolder = psf;
1413  m_idList = ILClone(pidlFolder);
1414  m_hKey = hKey;
1416 
1417  if (IsWindow())
1418  ClearToolbar();
1419 
1420  return S_OK;
1421 }
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: