Most likely I'm missing something obvious. How do I access the application 
icon? The following code gives only a nice Unix executable icon. Wouldn't a 
constructor with the application identifier make more sense than type/creator?

  dim theIcon as new IconMBS(app.ApplicationFileMBS)
  if theIcon = nil then return
  dim theIconFamily as IconFamilyMBS = theIcon.IconFamily
  if theIconFamily = nil then Return
  dim IconPicture, IconMask, FinalPicture as Picture 
  if theIconFamily.GetIconImage(256, IconPicture, IconMask) then
    
    FinalPicture = TransparentPicture(IconPicture, IconMask)
  end if

As usual: Mac Pro with 10.6.7, RB 2010r5, MBS 11.2.

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.

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

Reply via email to