Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions idd/LGIddHelper/CNotifyWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ LRESULT CNotifyWindow::onClose()
return 0;
}

LRESULT CNotifyWindow::onDestroy()
{
Shell_NotifyIcon(NIM_DELETE, &m_iconData);
return 0;
}

LRESULT CNotifyWindow::onFinal()
{
PostQuitMessage(0);
Expand Down
1 change: 1 addition & 0 deletions idd/LGIddHelper/CNotifyWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class CNotifyWindow : public CWindow
virtual LRESULT handleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam) override;
virtual LRESULT onCreate() override;
virtual LRESULT onClose() override;
virtual LRESULT onDestroy() override;
virtual LRESULT onFinal() override;

public:
Expand Down