From: Amine Khaldi Date: Mon, 22 Jun 2015 16:01:43 +0000 (+0000) Subject: [EXPLORER] Explicitly request applications to re-register their systray icons as... X-Git-Tag: ReactOS-0.4.0~1742 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=44c6fbb63a2f8df5b100f2bbdc63a9f0836cfe2f [EXPLORER] Explicitly request applications to re-register their systray icons as soon as explorer is started. By Joachim Henze. CORE-9824 svn path=/trunk/; revision=68238 --- diff --git a/reactos/base/shell/explorer/trayntfy.cpp b/reactos/base/shell/explorer/trayntfy.cpp index 94613a729fe..54b70f4a918 100644 --- a/reactos/base/shell/explorer/trayntfy.cpp +++ b/reactos/base/shell/explorer/trayntfy.cpp @@ -434,6 +434,13 @@ public: LRESULT OnCreate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) { Toolbar.Initialize(m_hWnd); + + // Explicitly request running applications to re-register their systray icons + SendNotifyMessage(HWND_BROADCAST, + RegisterWindowMessage(TEXT("TaskbarCreated")), + 0, + 0); + return TRUE; }