mirror of
https://github.com/reactos/reactos.git
synced 2025-07-16 06:54:03 +00:00
[RSHELL]
* CMenuBand: Fix display of icons for the static toolbar. * CMenuDeskBar: Fix positioning of the window not to cross the top edge. CORE-7881 svn path=/branches/shell-experiments/; revision=62242
This commit is contained in:
parent
662d8363c3
commit
edfdf34624
2 changed files with 9 additions and 13 deletions
|
@ -1130,7 +1130,8 @@ HRESULT CMenuStaticToolbar::FillToolbar()
|
|||
tbb.iString = (INT_PTR) MenuString;
|
||||
tbb.idCommand = info.wID;
|
||||
|
||||
SMINFO sminfo;
|
||||
SMINFO sminfo = { 0 };
|
||||
sminfo.dwMask = SMIM_ICON;
|
||||
if (info.wID >= 0 && SUCCEEDED(m_menuBand->CallCBWithId(info.wID, SMC_GETINFO, 0, (LPARAM) &sminfo)))
|
||||
{
|
||||
tbb.iBitmap = sminfo.iIcon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue