mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[RSHELL]
* Further improvements. Not working yet. Commiting as backup/history. svn path=/branches/shell-experiments/; revision=62603
This commit is contained in:
parent
a875dbf317
commit
97b02b410b
7 changed files with 79 additions and 50 deletions
|
@ -523,6 +523,11 @@ HRESULT CMenuBand::_IsPopup()
|
|||
return m_subMenuParent ? S_OK : S_FALSE;
|
||||
}
|
||||
|
||||
HRESULT CMenuBand::_IsTracking()
|
||||
{
|
||||
return m_popupBar != NULL;
|
||||
}
|
||||
|
||||
HRESULT STDMETHODCALLTYPE CMenuBand::SetClient(IUnknown *punkClient)
|
||||
{
|
||||
m_subMenuChild = NULL;
|
||||
|
@ -669,8 +674,6 @@ HRESULT CMenuBand::_TrackSubMenuUsingTrackPopupMenu(HMENU popup, INT x, INT y, R
|
|||
|
||||
UINT flags = TPM_VERPOSANIMATION | TPM_VERTICAL | TPM_LEFTALIGN;
|
||||
|
||||
//_DisableMouseTrack(TRUE);
|
||||
|
||||
m_focusManager->PushTrackedPopup(popup);
|
||||
if (m_menuOwner)
|
||||
{
|
||||
|
@ -700,8 +703,7 @@ HRESULT CMenuBand::_ChangeHotItem(CMenuToolbarBase * tb, INT id, DWORD dwFlags)
|
|||
|
||||
DbgPrint("Hot item changed from %p %p, to %p %p\n", m_hotBar, m_hotItem, tb, id);
|
||||
|
||||
if (m_hotBar != tb)
|
||||
_KillPopupTimers();
|
||||
_KillPopupTimers();
|
||||
|
||||
m_hotBar = tb;
|
||||
m_hotItem = id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue