From 1869dc467a7195da35cdf8abf5ec65cc274eff1e Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Mon, 14 Nov 2011 12:08:37 +0000 Subject: [PATCH] Alt+Tab now displays the Rainmeter icon for the Manage/About dialogs. --- Library/TrayWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/TrayWindow.cpp b/Library/TrayWindow.cpp index 3e767ec8..ae904f4e 100644 --- a/Library/TrayWindow.cpp +++ b/Library/TrayWindow.cpp @@ -64,6 +64,7 @@ CTrayWindow::CTrayWindow(HINSTANCE instance) : m_Instance(instance), wc.lpfnWndProc = (WNDPROC)WndProc; wc.hInstance = instance; wc.lpszClassName = L"RainmeterTrayClass"; + wc.hIcon = (HICON)LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_RAINMETER), IMAGE_ICON, 32, 32, LR_SHARED); RegisterClass(&wc);