Сергей Черниенко wrote:
Здравствуйте, perl-win32-gui-users,
I'm using NotifyIcon object to minimze my app to tray. All works
fine but the icon in tray has grey color instead of its real purple.
The questions are:
1. What format has to have icon (size, number of colors and so
on)
From:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/structures/notifyicondata.asp
"To avoid icon distortion, be aware that notification area icons have
different levels of support under different versions of Microsoft
Windows. Windows 95, Windows 98, and Microsoft Windows NT 4.0 support
icons of up to 4 bits per pixel (BPP). Windows Millennium Edition
(Windows Me) and Windows 2000 support icons of a color depth up to the
current display mode. Windows XP supports icons of up to 32 BPP."
2. may be I need redraw icon in some way? If yes: how can I do
this?
Shouldn't be necessary.
3. Where can I find docs about NotifyIcon on microsoft site?
Start here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shell_notifyicon.asp
Regards,
Rob.