mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 21:22:24 +00:00
[RSHELL]
* Turn off spammy log. * A small themeing tweak for the menubar. [BROWSEUI] * Turn off spammy log. * A small tweak to a function. svn path=/branches/shell-experiments/; revision=63620
This commit is contained in:
parent
fb22c97c91
commit
e33dc4351a
5 changed files with 11 additions and 4 deletions
|
@ -21,6 +21,7 @@
|
|||
#include <windowsx.h>
|
||||
#include <commoncontrols.h>
|
||||
#include <shlwapi_undoc.h>
|
||||
#include <uxtheme.h>
|
||||
|
||||
#include "CMenuBand.h"
|
||||
#include "CMenuToolbars.h"
|
||||
|
@ -195,7 +196,7 @@ HRESULT CMenuToolbarBase::OnCustomDraw(LPNMTBCUSTOMDRAW cdraw, LRESULT * theResu
|
|||
isHot = m_hotBar == this && (int) cdraw->nmcd.dwItemSpec == m_hotItem;
|
||||
isPopup = m_popupBar == this && (int) cdraw->nmcd.dwItemSpec == m_popupItem;
|
||||
|
||||
if (m_initFlags & SMINIT_VERTICAL)
|
||||
if (m_initFlags & SMINIT_VERTICAL || IsAppThemed())
|
||||
{
|
||||
// Remove HOT and CHECKED flags (will restore HOT if necessary)
|
||||
cdraw->nmcd.uItemState &= ~(CDIS_HOT | CDIS_CHECKED);
|
||||
|
@ -829,7 +830,7 @@ HRESULT CMenuToolbarBase::OnCommand(WPARAM wParam, LPARAM lParam, LRESULT *theRe
|
|||
|
||||
HRESULT CMenuToolbarBase::ExecuteItem(INT iItem)
|
||||
{
|
||||
m_menuBand->_KillPopupTimers();
|
||||
this->m_menuBand->_KillPopupTimers();
|
||||
|
||||
INT index;
|
||||
DWORD_PTR data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue