* CMenuBand:
  - Use a Pager control on top of the SF Toolbar, like Windows does.
  - Cache the ideal size of the toolbars to reuse it next time the start menu shows.
  - Draw the dropdown arrows on items with dropdowns.
  - Cancel the timer and open a submenu immediately if the item is clicked.
  - Draw the selected background color on the item with a popup if there is no other item being hovered.
  - Add some space for the dropdown arrows in the size calculations (hardcoded).
  - Simplify the size calculation and positioning.
CORE-7881

svn path=/branches/shell-experiments/; revision=62317
This commit is contained in:
David Quintana 2014-02-24 11:07:16 +00:00
parent 56bf9b6dbd
commit eee3377ec9
2 changed files with 275 additions and 151 deletions

View file

@ -446,7 +446,8 @@ HRESULT STDMETHODCALLTYPE CMenuDeskBar::Popup(POINTL *ppt, RECTL *prcExclude, MP
{
cy = waHeight;
}
else if (y + cy > rcWorkArea.bottom)
if (y + cy > rcWorkArea.bottom)
{
y = rcWorkArea.bottom - cy;
}