mirror of
https://github.com/reactos/reactos.git
synced 2024-11-30 15:03:32 +08:00
[EXPLORER] Do WM_MOUSEACTIVATE.MA_NOACTIVATE on notification area
Don't activate taskbar when clicked the notification area. CORE-10667
This commit is contained in:
parent
3aa3b3af56
commit
83442919e4
@ -124,6 +124,11 @@ public:
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LRESULT OnMouseActivate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
||||||
|
{
|
||||||
|
return MA_NOACTIVATE;
|
||||||
|
}
|
||||||
|
|
||||||
BOOL GetMinimumSize(IN OUT PSIZE pSize)
|
BOOL GetMinimumSize(IN OUT PSIZE pSize)
|
||||||
{
|
{
|
||||||
SIZE szClock = { 0, 0 };
|
SIZE szClock = { 0, 0 };
|
||||||
@ -345,6 +350,7 @@ public:
|
|||||||
|
|
||||||
BEGIN_MSG_MAP(CTrayNotifyWnd)
|
BEGIN_MSG_MAP(CTrayNotifyWnd)
|
||||||
MESSAGE_HANDLER(WM_CREATE, OnCreate)
|
MESSAGE_HANDLER(WM_CREATE, OnCreate)
|
||||||
|
MESSAGE_HANDLER(WM_MOUSEACTIVATE, OnMouseActivate)
|
||||||
MESSAGE_HANDLER(WM_THEMECHANGED, OnThemeChanged)
|
MESSAGE_HANDLER(WM_THEMECHANGED, OnThemeChanged)
|
||||||
MESSAGE_HANDLER(WM_ERASEBKGND, OnEraseBackground)
|
MESSAGE_HANDLER(WM_ERASEBKGND, OnEraseBackground)
|
||||||
MESSAGE_HANDLER(WM_SIZE, OnSize)
|
MESSAGE_HANDLER(WM_SIZE, OnSize)
|
||||||
|
Loading…
Reference in New Issue
Block a user