Hi all,
I'm building a docky for network activity.
It works well but I'm now trying to use a transparent background... and I don't succeed.
My goal is to change the black background by a transparent one on this Docky :
http://www.os4depot.net/filedata/snapshot/7680_1_snap.jpg1) I tried CyberGraphics FillPixelArray() who seems to manage alpha layer (first byte of ARGB) by
RectFill(dd->rp,0,0,dd->ds.width-1,dd->ds.height-1);
FillPixelArray(dd->rp,0,0,dd->ds.width-1,dd->ds.height-1,0xFF000000);
SetRPAttrs(dd->rp,RPTAG_APenColor,0xFF00FF00, RPTAG_DrMd,JAM1,NULL);
The color changes is OK, but I see no difference if I change 0XFF by something else.
2) I try, too, Graphics ObtainBestPenA()
pen = ObtainBestPenA(cm, 0x00000000, 0x00000000, 0x00000000, NULL );
but it is the same, the color changes but not the transparency.
Is it possible to do this ?
Thanks by advance for your help.
zzd10h