diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-12-21 04:10:02 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-12-21 04:10:02 +0400 |
commit | b884b1a027d4a4c0d2bedcbb355f62fba1dacf6e (patch) | |
tree | db3d770460c45c214e0d0bf235cb436b91890a91 | |
parent | 6056a847839c58e8b9f2dbe9332ef3ec1c00e128 (diff) |
Delete tray icon if the message thread quits.
-rw-r--r-- | common/DSUtilLite/BaseTrayIcon.cpp | 2 |
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; } |