mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:45:40 +00:00
[RSHELL]
* Some menu style improvements. * Some code style improvements. * Added a skeleton CMergedFolder, as a base towards showing items from both the user and the common start menus. It does not work yet. CORE-7586 svn path=/branches/shell-experiments/; revision=62330
This commit is contained in:
parent
53f74feb2d
commit
58931088c3
10 changed files with 510 additions and 10 deletions
|
@ -709,6 +709,8 @@ HRESULT STDMETHODCALLTYPE CMenuBand::OnWinEvent(HWND hWnd, UINT uMsg, WPARAM wPa
|
|||
break;
|
||||
}
|
||||
|
||||
cdraw->iListGap += 4;
|
||||
|
||||
*theResult = CDRF_NOTIFYPOSTPAINT | TBCDRF_NOBACKGROUND | TBCDRF_NOEDGES | TBCDRF_NOOFFSET | TBCDRF_NOMARK | 0x00800000; // FIXME: the last bit is Vista+, for debugging only
|
||||
return S_OK;
|
||||
|
||||
|
@ -903,6 +905,7 @@ HRESULT CMenuBand::_OnPopupSubMenu(INT popupItem, IMenuPopup * popup, POINTL * p
|
|||
if (popup)
|
||||
{
|
||||
IUnknown_SetSite(popup, m_subMenuParent);
|
||||
|
||||
popup->Popup(pAt, pExclude, MPPF_RIGHT);
|
||||
}
|
||||
if (m_staticToolbar) m_staticToolbar->InvalidateDraw();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue