View Issue Details

IDProjectCategoryView StatusLast Update
0000230JEDI VCL00 JVCL Componentspublic2002-07-31 05:43
ReporterAlexKnoopAssigned Tosbuysse 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0000230: TJvTrayIcon: multi resolution icons?
DescriptionI'm afraid, TJvTrayIcon is currently not capable of handling multi resolution icons. When I attach a multires icon to the TrayIcon component, it will use the first icon in the .ICO file and resize it for fiiting into the tray bar instead of using that one with the proper resolution.
Additional InformationI've built a couple of multires icons for my applications. They contain a 32x32x16 and a 16x16x16 icon each. Attached to the delphi project options it works: the icons appear in windows explorer in different resolutions, depending on the explorer switch "large icons", "small icons", "list", "details" (I'm not sure about the names of the explorer option items, I've got a german windows version).
TagsNo tags attached.

Activities

sbuysse

2002-07-30 09:07

developer   ~0000344

The Tray accepts *ONLY* 16*16 icons in 16 colors on all platforms except XP, on XP you can use 16*16 icons with true colors.

So, I don't understand your question as it's impossible to put a 32*32 icon in the tray.

sbuysse

2002-07-30 09:11

developer   ~0000345

Oh, I forgot to mention, Delphi does *NOT* support multi icons.
The TIcon component is limited to a single icon, so, don't expect any component to support your file (except the icon for the project as it's just included as resource).

AlexKnoop

2002-07-30 23:28

reporter   ~0000347

Right, there are only 16x16 icons in the tray. But you can assign a 32x32 to the tray icon component and it will be downsized, possibly recolored and displayed in 16x16. That's the reason why it doesn't look like the way it should.
My idea was to assign a multi icon (i.e. the project icon) and the trayicon component was expected to select that one with the proper resolution. So there won't be any downsizing and the tray icon would look like the small explorer icon.

However: If, as you say, Delphi doesn't support multi icons except that for the project, my question is obsolete.
...until somebody bothers to develop TMultiIcon :-)

Thanks anyway.

Issue History

Date Modified Username Field Change