Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-12-21 04:10:02 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2012-12-21 04:10:02 +0400
commitb884b1a027d4a4c0d2bedcbb355f62fba1dacf6e (patch)
treedb3d770460c45c214e0d0bf235cb436b91890a91
parent6056a847839c58e8b9f2dbe9332ef3ec1c00e128 (diff)
Delete tray icon if the message thread quits.
-rw-r--r--common/DSUtilLite/BaseTrayIcon.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/DSUtilLite/BaseTrayIcon.cpp b/common/DSUtilLite/BaseTrayIcon.cpp
index cba3cf0d..5ed5d8a5 100644
--- a/common/DSUtilLite/BaseTrayIcon.cpp
+++ b/common/DSUtilLite/BaseTrayIcon.cpp
@@ -124,6 +124,8 @@ DWORD CBaseTrayIcon::TrayMessageThread()
DispatchMessage(&msg);
}
+ Shell_NotifyIcon(NIM_DELETE, &m_NotifyIconData);
+
return 0;
}