mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 04:31:57 +00:00 
			
		
		
		
	[idd] helper/notify: delete icon when exiting
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Quantum
					Quantum