mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[RSHELL]
* Some small fixes to the previous commit. (Clicking still do not work in win2003, though) svn path=/branches/shell-experiments/; revision=62680
This commit is contained in:
@@ -602,7 +602,7 @@ HRESULT CMenuToolbarBase::ChangeHotItem(CMenuToolbarBase * toolbar, INT item, DW
|
||||
|
||||
if (m_hotBar == this && toolbar != this)
|
||||
{
|
||||
SendMessage(m_hwndToolbar, TB_SETHOTITEM, -1, 0);
|
||||
SendMessage(m_hwndToolbar, TB_SETHOTITEM, (WPARAM)-1, 0);
|
||||
}
|
||||
|
||||
m_hotBar = toolbar;
|
||||
@@ -967,7 +967,7 @@ HRESULT CMenuToolbarBase::KeyboardItemChange(DWORD dwSelectType)
|
||||
if (prev != -1)
|
||||
{
|
||||
DbgPrint("Setting Hot item to null\n");
|
||||
SendMessage(m_hwndToolbar, TB_SETHOTITEM, -1, 0);
|
||||
SendMessage(m_hwndToolbar, TB_SETHOTITEM, (WPARAM) -1, 0);
|
||||
}
|
||||
return S_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user