Le 16 nov. 11 à 09:15, Christian Schmitz a écrit:

> Am 15.11.2011 um 23:26 schrieb Arnaud Nicolet:
>
>> I also appreciate the example.
>
> Sub Paint(g As Graphics)
>  dim i as new IconMBS(volume(0))
>
>  dim c as CGContextMBS
>  if TargetCocoa then
>    c = GetCurrentCGContextMBS
>  else
>    c = self.CGContextMBS
>  end if
>
>  i.DrawIconCGContext(c.Handle, 0, 0, 128, 128, 0, 0, 0, &c000000)
>
> End Sub
>
> Like this. We get the cgcontext for drawing and draw it.

Thanks. Now that I read myself again, I see a "d" is missing. I was  
telling you I appreciate"d" the example (the first you gave was  
actually sufficient).
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to