LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
put the id of image "xbblue.png" into theID
set the icon to theID
It displays the icon, but the alpha does not blend properly, and using larger sizes result in warped images. I have the file available in a .ico format with multiple embedded sizes inside (thanks to Microangelo), why can't i just use the .ico file and have it rendered properly, including alpha? How can that be done?
Last edited by SteveTX on Sat Feb 13, 2010 5:39 am, edited 1 time in total.
This needs to be addressed. It looks like runrev can't handle using icon files for icons (lol). Will need to check to see why PNG is treated like 8-bit instead of 24-bit.
Bump. I have been playing around a little bit more. The alpha channel is treated like a Windows TrueColor render. 100% transparent pixels are indeed transparent, but those with alpha (translucent) are displayed in matte. This is true with both 24-bit PNG and TIFFs with transparency. Resized larger images with XP-color mode appear to be downmixed to 256 colors, even under Vista.
Has anyone been able to make a system tray icon that displays properly with edges that blend into the system tray?
Can alphaData translucency be applied to images displayed in the system tray?
"the icon" is still flagged as "unsuported", and your problems are some of the reasons why that is. I don't know if RunRev will ever fix it, but meanwhile, for "seamless" taskbar support, i suggest buying the low cost sstray, by sonsothunder software:
Using a 3rd party solution for each individual build isn't acceptable and is antithetical to the primary reason for using runrev. It isn't possible to take runrev serious as an application language if it can't properly support absolutely essential interface components like system tray icons. I might be willing to sponsor this bug fix, who should I contact?
BvG wrote:"the icon" is still flagged as "unsuported", and your problems are some of the reasons why that is. I don't know if RunRev will ever fix it, but meanwhile, for "seamless" taskbar support, i suggest buying the low cost sstray, by sonsothunder software:
If it were an addon, that would be fine. The reality is that it is a piece of crap software built for windows 95 and has nothing to do with runrev, and it doesn't work for linux or mac either. Is ANYONE at runrev listening? how can you not have built this essential thing into the codebase yet!?
1. I have been using MetaCard/Revolution/Livecode for crossplatform development
since 1999 and never have missed this feature. So one could argue if this is in fact essential or not!
2. "sstray" works for "Windows 95" up to "Vista" as the webpage states and calling it "a piece of crap"
right away is definitvely not a sign of a good education!
So please stick with the common netiquette and calm down, OK?
I understand SteveTX's frustration, and frustration makes us say things we might regret.
I'm primarily a Windows user that considers system tray support extremely important. I have tried SStray before but it failed if the boot drive was not C:\
I've been using Rev since 2006 and have ported a number of apps/utilities to Mac, but getting a professional looking and working trayicon on Windows is one of the issues keeping me on Windows using Visual Studio and C#/C++.