mirror of https://github.com/BOINC/boinc.git
- TRAY: Remove the icon resource from boinctray.exe
clienttray/ boinc_tray.h boinc_tray.rc tray_win.cpp svn path=/trunk/boinc/; revision=13912
This commit is contained in:
parent
7c4d159591
commit
16b1887613
|
@ -9668,3 +9668,11 @@ Charlie 18 Oct 2007
|
|||
|
||||
client/
|
||||
hostinfo_unix.C
|
||||
|
||||
Rom 18 Oct 2007
|
||||
- TRAY: Remove the icon resource from boinctray.exe
|
||||
|
||||
clienttray/
|
||||
boinc_tray.h
|
||||
boinc_tray.rc
|
||||
tray_win.cpp
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
// Microsoft Visual C++ generated include file.
|
||||
// Used by boinc_tray.rc
|
||||
//
|
||||
#define IDI_MAIN_ICON 1
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
|
|
|
@ -23,16 +23,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|||
#endif //_WIN32
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDI_MAIN_ICON ICON "res\\icon.ico"
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Version
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 278 KiB |
|
@ -48,8 +48,8 @@ INT CBOINCTray::Run( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
|
|||
if (!hPrevInstance) {
|
||||
// Register an appropriate window class for the primary window
|
||||
WNDCLASS cls;
|
||||
cls.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
cls.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MAIN_ICON));
|
||||
cls.hCursor = NULL;
|
||||
cls.hIcon = NULL;
|
||||
cls.lpszMenuName = NULL;
|
||||
cls.lpszClassName = _T("BOINCTrayWndClass");
|
||||
cls.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
|
||||
|
|
Loading…
Reference in New Issue