This commit is contained in:
NaBian committed 2021-01-28 22:02:01 +08:00
1 parent 0e7d01a7e1
commit cdeab696f5
1 file changed
+3 -1
@@ -582,9 +582,11 @@ namespace HandyControl.Controls
{ {
if (msg == _wmTaskbarCreated) if (msg == _wmTaskbarCreated)
{ {
_added = false; if (_messageWindowHandle == hWnd && Visibility == Visibility.Visible)
{
UpdateIcon(true); UpdateIcon(true);
} }
}
else else
{ {
switch (lparam.ToInt64()) switch (lparam.ToInt64())