mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 05:23:33 +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;
|
||||
}
|
||||
|
||||
LRESULT OnMouseActivate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
||||
{
|
||||
return MA_NOACTIVATE;
|
||||
}
|
||||
|
||||
BOOL GetMinimumSize(IN OUT PSIZE pSize)
|
||||
{
|
||||
SIZE szClock = { 0, 0 };
|
||||
@ -345,6 +350,7 @@ public:
|
||||
|
||||
BEGIN_MSG_MAP(CTrayNotifyWnd)
|
||||
MESSAGE_HANDLER(WM_CREATE, OnCreate)
|
||||
MESSAGE_HANDLER(WM_MOUSEACTIVATE, OnMouseActivate)
|
||||
MESSAGE_HANDLER(WM_THEMECHANGED, OnThemeChanged)
|
||||
MESSAGE_HANDLER(WM_ERASEBKGND, OnEraseBackground)
|
||||
MESSAGE_HANDLER(WM_SIZE, OnSize)
|
||||
|
Loading…
Reference in New Issue
Block a user