Can I use an 8 bit graduated background (from a 32bit icon file) in the XP Menus hierarchy?
If I make an icon (such as the one attached) and assign it to a Form''s Icon property then it will be displayed using its 8 bit alpha channel in the taskbar. When I put the same icon in Syncfusions menus it uses only 1 bit alpha.
ADAdministrator Syncfusion Team June 18, 2004 02:07 PM
This is due to a known problem in the .NET ImageList control and not due to XPMenus. (I assume you have ColorDepth property of the imagelist set to Depth32Bit.)
ADAdministrator Syncfusion Team June 22, 2004 03:11 AM
yes i do - but presumably it is irrelevant.
thanks for the info. we''ll just make sure all our icons use just a 1 bit alpha channel
TFTerry FosterJune 27, 2006 09:39 AM
It appears that you guys are aware of the .NET ImageList issue that hasn''t been fixed in 2.0. Please refer to the following article for more information:
The problem I currently have is that BarItems must take an ImageList and an ImageIndex in order to display an image. Is there a way to assign an image directly (without having to use an ImageList) or do you have plans to allow this in the near future? I''m try to use some nice Office 2003-like icons in my application, but a lot end up not looking so nice and I cannot find a nice way to work around this issue. Ideally, with the new project resource support in 2005, it would be wonderful to be able to assign a project-embedded resource image to my BarItems.