Added 32x32 icon image for Alt+Tab.

This commit is contained in:
spx 2010-08-25 15:48:21 +00:00
parent bea3b2821a
commit 494a7c77ce
4 changed files with 4 additions and 2 deletions

View File

@ -190,6 +190,7 @@ END
// Icon with lowest ID value placed first to ensure application icon // Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems. // remains consistent on all systems.
IDI_TRAY ICON DISCARDABLE "res\\tray.ico" IDI_TRAY ICON DISCARDABLE "res\\tray.ico"
IDI_WINDOW ICON DISCARDABLE "res\\window.ico"
#endif // Finnish resources #endif // Finnish resources
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

BIN
Library/Res/window.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -47,7 +47,7 @@ CTrayWindow::CTrayWindow(HINSTANCE instance)
wc.cbClsExtra = 0; wc.cbClsExtra = 0;
wc.cbWndExtra = 0; wc.cbWndExtra = 0;
wc.hInstance = instance; wc.hInstance = instance;
wc.hIcon = LoadIcon(instance, MAKEINTRESOURCE(IDI_TRAY)); wc.hIcon = LoadIcon(instance, MAKEINTRESOURCE(IDI_WINDOW));
wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hCursor = LoadCursor(NULL, IDC_ARROW);
wc.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH); wc.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
wc.lpszMenuName = NULL; wc.lpszMenuName = NULL;

View File

@ -6,6 +6,7 @@
#define IDD_ABOUT_DIALOG 102 #define IDD_ABOUT_DIALOG 102
#define IDR_SKIN_MENU 102 #define IDR_SKIN_MENU 102
#define IDI_TRAY 108 #define IDI_TRAY 108
#define IDI_WINDOW 109
#define IDC_STATISTICS 1000 #define IDC_STATISTICS 1000
#define IDC_BUILD_STRING 1001 #define IDC_BUILD_STRING 1001
#define IDC_VERSION_STRING 1002 #define IDC_VERSION_STRING 1002
@ -76,7 +77,7 @@
// //
#ifdef APSTUDIO_INVOKED #ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS #ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 109 #define _APS_NEXT_RESOURCE_VALUE 110
#define _APS_NEXT_COMMAND_VALUE 4040 #define _APS_NEXT_COMMAND_VALUE 4040
#define _APS_NEXT_CONTROL_VALUE 1010 #define _APS_NEXT_CONTROL_VALUE 1010
#define _APS_NEXT_SYMED_VALUE 101 #define _APS_NEXT_SYMED_VALUE 101