Alt+Tab now displays the Rainmeter icon for the Manage/About dialogs.

This commit is contained in:
Birunthan Mohanathas 2011-11-14 12:08:37 +00:00
parent 4c3695a78a
commit 1869dc467a

View File

@ -64,6 +64,7 @@ CTrayWindow::CTrayWindow(HINSTANCE instance) : m_Instance(instance),
wc.lpfnWndProc = (WNDPROC)WndProc; wc.lpfnWndProc = (WNDPROC)WndProc;
wc.hInstance = instance; wc.hInstance = instance;
wc.lpszClassName = L"RainmeterTrayClass"; wc.lpszClassName = L"RainmeterTrayClass";
wc.hIcon = (HICON)LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_RAINMETER), IMAGE_ICON, 32, 32, LR_SHARED);
RegisterClass(&wc); RegisterClass(&wc);