ReactOS  0.4.14-dev-317-g96040ec
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 1286 of file CMenuToolbars.cpp.

1286  :
1287  CMenuToolbarBase(menuBand, TRUE),
1289  m_idList(NULL),
1290  m_hKey(NULL)
1291 {
1292 }
CMenuToolbarBase(CMenuBand *menuBand, BOOL usePager)
#define TRUE
Definition: types.h:120
CComPtr< IShellFolder > m_shellFolder
smooth NULL
Definition: ftsmooth.c:416
LPCITEMIDLIST m_idList

◆ ~CMenuSFToolbar()

CMenuSFToolbar::~CMenuSFToolbar ( )
virtual

Definition at line 1294 of file CMenuToolbars.cpp.

1295 {
1296 }

Member Function Documentation

◆ FillToolbar()

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

Implements CMenuToolbarBase.

Definition at line 1312 of file CMenuToolbars.cpp.

1313 {
1314  HRESULT hr;
1315 
1316  CComPtr<IEnumIDList> eidl;
1317  hr = m_shellFolder->EnumObjects(GetToolbar(), SHCONTF_FOLDERS | SHCONTF_NONFOLDERS, &eidl);
1318  if (FAILED_UNEXPECTEDLY(hr))
1319  return hr;
1320 
1321  HDPA dpaSort = DPA_Create(10);
1322 
1324  hr = eidl->Next(1, &item, NULL);
1325  while (hr == S_OK)
1326  {
1327  if (m_menuBand->_CallCBWithItemPidl(item, 0x10000000, 0, 0) == S_FALSE)
1328  {
1329  DPA_AppendPtr(dpaSort, item);
1330  }
1331  else
1332  {
1334  }
1335 
1336  hr = eidl->Next(1, &item, NULL);
1337  }
1338 
1339  // If no items were added, show the "empty" placeholder
1340  if (DPA_GetPtrCount(dpaSort) == 0)
1341  {
1342  DPA_Destroy(dpaSort);
1343  return AddPlaceholder();
1344  }
1345 
1346  TRACE("FillToolbar added %d items to the DPA\n", DPA_GetPtrCount(dpaSort));
1347 
1349 
1350  for (int i = 0; i<DPA_GetPtrCount(dpaSort);)
1351  {
1352  PWSTR MenuString;
1353 
1354  INT index = 0;
1355  INT indexOpen = 0;
1356 
1357  STRRET sr = { STRRET_CSTR, { 0 } };
1358 
1359  item = (LPITEMIDLIST)DPA_GetPtr(dpaSort, i);
1360 
1361  hr = m_shellFolder->GetDisplayNameOf(item, SIGDN_NORMALDISPLAY, &sr);
1362  if (FAILED_UNEXPECTEDLY(hr))
1363  {
1364  DPA_Destroy(dpaSort);
1365  return hr;
1366  }
1367 
1368  StrRetToStr(&sr, NULL, &MenuString);
1369 
1371 
1372  LPCITEMIDLIST itemc = item;
1373 
1374  SFGAOF attrs = SFGAO_FOLDER;
1375  hr = m_shellFolder->GetAttributesOf(1, &itemc, &attrs);
1376 
1377  DWORD_PTR dwData = reinterpret_cast<DWORD_PTR>(item);
1378 
1379  // Fetch next item already, so we know if the current one is the last
1380  i++;
1381 
1382  AddButton(i, MenuString, attrs & SFGAO_FOLDER, index, dwData, i >= DPA_GetPtrCount(dpaSort));
1383 
1384  CoTaskMemFree(MenuString);
1385  }
1386 
1387  DPA_Destroy(dpaSort);
1388  return hr;
1389 }
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:420
HRESULT hr
Definition: shlfolder.c:183
BOOL WINAPI DPA_Destroy(HDPA hdpa)
Definition: dpa.c:396
uint16_t * PWSTR
Definition: typedefs.h:54
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
static HANDLE ULONG_PTR dwData
Definition: file.c:35
int32_t INT
Definition: typedefs.h:56
#define DPA_AppendPtr(hdpa, pitem)
Definition: commctrl.h:4954
CComPtr< IShellFolder > m_shellFolder
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
int CALLBACK PidlListSort(void *item1, void *item2, LPARAM lParam)
#define S_FALSE
Definition: winerror.h:2357
smooth NULL
Definition: ftsmooth.c:416
LONG_PTR LPARAM
Definition: windef.h:208
#define DPA_GetPtrCount(hdpa)
Definition: commctrl.h:4951
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:77
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:71
BOOL WINAPI DPA_Sort(HDPA hdpa, PFNDPACOMPARE pfnCompare, LPARAM lParam)
Definition: dpa.c:813
uint32_t DWORD_PTR
Definition: typedefs.h:63
#define S_OK
Definition: intsafe.h:59
static ATOM item
Definition: dde.c:856
#define DPA_GetPtr
Definition: commctrl.h:5
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 1416 of file CMenuToolbars.cpp.

1417 {
1418  HRESULT hr;
1419 
1420  hr = m_shellFolder->QueryInterface(riid, ppv);
1421  if (FAILED_UNEXPECTEDLY(hr))
1422  return hr;
1423 
1424  if (pdwFlags)
1425  *pdwFlags = m_dwMenuFlags;
1426 
1427  if (ppidl)
1428  {
1429  LPITEMIDLIST pidl = NULL;
1430 
1431  if (m_idList)
1432  {
1433  pidl = ILClone(m_idList);
1434  if (!pidl)
1435  {
1436  ERR("ILClone failed!\n");
1437  (*reinterpret_cast<IUnknown**>(ppv))->Release();
1438  return E_FAIL;
1439  }
1440  }
1441 
1442  *ppidl = pidl;
1443  }
1444 
1445  return hr;
1446 }
HRESULT hr
Definition: shlfolder.c:183
_In_ BOOLEAN Release
Definition: classpnp.h:929
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define E_FAIL
Definition: ddrawi.h:102
CComPtr< IShellFolder > m_shellFolder
smooth NULL
Definition: ftsmooth.c:416
LONG HRESULT
Definition: typedefs.h:77
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:71
#define ERR(fmt,...)
Definition: debug.h:109
LPITEMIDLIST WINAPI ILClone(LPCITEMIDLIST pidl)
Definition: pidl.c:228
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 1448 of file CMenuToolbars.cpp.

1449 {
1450  HRESULT hr;
1451  CComPtr<IContextMenu> contextMenu = NULL;
1452  LPCITEMIDLIST pidl = reinterpret_cast<LPCITEMIDLIST>(dwData);
1453 
1454  hr = m_shellFolder->GetUIObjectOf(GetToolbar(), 1, &pidl, IID_NULL_PPV_ARG(IContextMenu, &contextMenu));
1455  if (FAILED_UNEXPECTEDLY(hr))
1456  {
1457  return hr;
1458  }
1459 
1460  hr = TrackContextMenu(contextMenu, pt);
1461 
1462  return hr;
1463 }
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
smooth NULL
Definition: ftsmooth.c:416
#define IID_NULL_PPV_ARG(Itype, ppType)
LONG HRESULT
Definition: typedefs.h:77
HRESULT TrackContextMenu(IContextMenu *contextMenu, POINT pt)
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:71

◆ InternalExecuteItem()

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

Implements CMenuToolbarBase.

Definition at line 1465 of file CMenuToolbars.cpp.

1466 {
1467  return m_menuBand->_CallCBWithItemPidl(reinterpret_cast<LPITEMIDLIST>(data), SMC_SFEXEC, 0, 0);
1468 }
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 1391 of file CMenuToolbars.cpp.

1392 {
1393  //ITEMIDLIST * pidl = reinterpret_cast<LPITEMIDLIST>(dwData);
1394  UNIMPLEMENTED;
1395  return E_NOTIMPL;
1396 }
#define E_NOTIMPL
Definition: ddrawi.h:99
#define UNIMPLEMENTED
Definition: debug.h:114

◆ InternalHasSubMenu()

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

Implements CMenuToolbarBase.

Definition at line 1507 of file CMenuToolbars.cpp.

1508 {
1509  HRESULT hr;
1510  LPCITEMIDLIST pidl = reinterpret_cast<LPITEMIDLIST>(dwData);
1511 
1512  SFGAOF attrs = SFGAO_FOLDER;
1513  hr = m_shellFolder->GetAttributesOf(1, &pidl, &attrs);
1514  if (FAILED_UNEXPECTEDLY(hr))
1515  return hr;
1516 
1517  return (attrs & SFGAO_FOLDER) ? S_OK : S_FALSE;
1518 }
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:77
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:71
#define S_OK
Definition: intsafe.h:59
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 1470 of file CMenuToolbars.cpp.

1471 {
1472  HRESULT hr;
1473  UINT uId;
1474  UINT uIdAncestor;
1475  DWORD flags;
1476  CComPtr<IShellMenuCallback> psmc;
1477  CComPtr<IShellMenu> shellMenu;
1478 
1479  LPITEMIDLIST pidl = reinterpret_cast<LPITEMIDLIST>(dwData);
1480 
1481  if (!pidl)
1482  return E_FAIL;
1483 
1485  if (FAILED_UNEXPECTEDLY(hr))
1486  return hr;
1487 
1488  m_menuBand->GetMenuInfo(&psmc, &uId, &uIdAncestor, &flags);
1489 
1490  // FIXME: not sure what to use as uId/uIdAncestor here
1491  hr = shellMenu->Initialize(psmc, 0, uId, SMINIT_VERTICAL);
1492  if (FAILED_UNEXPECTEDLY(hr))
1493  return hr;
1494 
1495  CComPtr<IShellFolder> childFolder;
1496  hr = m_shellFolder->BindToObject(pidl, NULL, IID_PPV_ARG(IShellFolder, &childFolder));
1497  if (FAILED_UNEXPECTEDLY(hr))
1498  return hr;
1499 
1500  hr = shellMenu->SetShellFolder(childFolder, NULL, NULL, 0);
1501  if (FAILED_UNEXPECTEDLY(hr))
1502  return hr;
1503 
1504  return PopupSubMenu(iItem, index, shellMenu, keyInitiated);
1505 }
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
smooth NULL
Definition: ftsmooth.c:416
GLuint index
Definition: glext.h:6031
LONG HRESULT
Definition: typedefs.h:77
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:71
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
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 1398 of file CMenuToolbars.cpp.

1399 {
1400  ILFree(reinterpret_cast<LPITEMIDLIST>(tb->tbButton.dwData));
1401  return S_OK;
1402 }
void WINAPI ILFree(LPITEMIDLIST pidl)
Definition: pidl.c:925
static const WCHAR tb[]
Definition: suminfo.c:286
#define S_OK
Definition: intsafe.h:59

◆ SetShellFolder()

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

Definition at line 1404 of file CMenuToolbars.cpp.

1405 {
1406  m_shellFolder = psf;
1407  m_idList = ILClone(pidlFolder);
1408  m_hKey = hKey;
1410 
1411  ClearToolbar();
1412 
1413  return S_OK;
1414 }
CComPtr< IShellFolder > m_shellFolder
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define S_OK
Definition: intsafe.h:59
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: