Hi All,

I've just run into a picture issue with 2011r2 and IconImageMBS / IconMaskMBS.  
When building for Carbon, this provide a picture item as expected. However, in 
Cocoa, the background of the image is black instead of transparent.

I use the simple code from the example passing in the folderitem "f" and the 
size of the icon to retrieve:

 dim p as Picture
 dim i as Picture
 dim m as Picture

 i=f.IconImageMBS(w)
 m=f.IconMaskMBS(w)

 If i <> nil Then // Get the picture info

   p = New Picture(i.width,i.height,32)

   p.Graphics.DrawPicture i,0,0
   p.Mask.Graphics.DrawPicture m,0,0
 End If

 Return p

When I then use the picture in my app, the background is not transparent as in 
Carbon builds.

Have I missed something, or is there still more to report on Cocoa and pictures?

Using MBS 11.1.

Tim

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to