mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 17:00:51 +08:00
[EXPLORER] Start menu: Fix Small Icons flag (#6651)
Follow-up to #6646. Fix wrong flag use: #6646 (comment) JIRA issue: CORE-19494 - Delete SmallStartMenu flag (wrong) from _TW_STUCKRECTS2. - Rename _TW_STUCKRECTS2.SmallIcons as SmSmallIcons. - Use SmSmallIcons flag.
This commit is contained in:
committed by
GitHub
parent
2ec785b1ee
commit
17b0623cf8
@@ -23,7 +23,8 @@
|
||||
HRESULT
|
||||
UpdateStartMenu(IN OUT IMenuPopup *pMenuPopup,
|
||||
IN HBITMAP hbmBanner OPTIONAL,
|
||||
IN BOOL bSmallIcons)
|
||||
IN BOOL bSmallIcons,
|
||||
IN BOOL bRefresh)
|
||||
{
|
||||
CComPtr<IBanneredBar> pbb;
|
||||
HRESULT hRet;
|
||||
@@ -37,6 +38,11 @@ UpdateStartMenu(IN OUT IMenuPopup *pMenuPopup,
|
||||
hRet = pbb->SetIconSize(bSmallIcons ? BMICON_SMALL : BMICON_LARGE);
|
||||
}
|
||||
|
||||
if (bRefresh)
|
||||
{
|
||||
FIXME("Refresh the Start menu with communicating with SHELL32\n");
|
||||
}
|
||||
|
||||
return hRet;
|
||||
}
|
||||
|
||||
@@ -97,7 +103,7 @@ CreateStartMenu(IN ITrayWindow *Tray,
|
||||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
return NULL;
|
||||
|
||||
UpdateStartMenu(pMp, hbmBanner, bSmallIcons);
|
||||
UpdateStartMenu(pMp, hbmBanner, bSmallIcons, FALSE);
|
||||
|
||||
*ppMenuBand = pMb.Detach();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user