CComPtr<IMenuPopup> child = m_subMenuChild;
m_subMenuChild = NULL;
-
+
if (child)
{
IUnknown_SetSite(child, NULL);
{
HRESULT hr;
UINT uCommand;
-
+
// Ensure that the menu doesn't disappear on us
CComPtr<IContextMenu> ctxMenu = contextMenu;
if (FAILED_UNEXPECTEDLY(hr))
return hr;
- //
+ //
CComPtr<IMenuPopup> popup;
hr = pDeskBar->QueryInterface(IID_PPV_ARG(IMenuPopup, &popup));
if (FAILED_UNEXPECTEDLY(hr))