Commit 23ee9b29 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

explorer: Handle WM_CLOSE for docked icons for when they lose embedding.

parent f9542adb
......@@ -478,6 +478,15 @@ static LRESULT WINAPI tray_icon_wndproc( HWND hwnd, UINT msg, WPARAM wparam, LPA
break;
}
case WM_CLOSE:
if (icon->display == ICON_DISPLAY_DOCKED)
{
TRACE( "icon %u no longer embedded\n", icon->id );
hide_icon( icon );
show_icon( icon );
}
return 0;
case WM_CREATE:
icon->window = hwnd;
create_tooltip( icon );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment