mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:33:04 +00:00
[RSHELL]
* 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:
parent
56bf9b6dbd
commit
eee3377ec9
2 changed files with 275 additions and 151 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue