From: Robert M. <rm...@po...> - 2005-08-08 18:14:21
|
=F3=C5=D2=C7=C5=CA =FE=C5=D2=CE=C9=C5=CE=CB=CF wrote: > =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5, perl-win32-gui-users, >=20 > 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=3D/library/en-us/shellc= c/platform/shell/reference/structures/notifyicondata.asp "To avoid icon distortion, be aware that notification area icons have=20 different levels of support under different versions of Microsoft=20 Windows. Windows 95, Windows 98, and Microsoft Windows NT 4.0 support=20 icons of up to 4 bits per pixel (BPP). Windows Millennium Edition=20 (Windows Me) and Windows 2000 support icons of a color depth up to the=20 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=3D/library/en-us/shellc= c/platform/shell/reference/functions/shell_notifyicon.asp Regards, Rob. |