(NOTE: in my previous post I accidentally said NSMenuMBS.View when it is 
NSMenuItemMBS.View. This is corrected.)

How do I assign an image to an NSMenuItemMBS.View?

I have existing:
m as NSMenuMBS
i as NSMenuItemMBS 
pic, mask as picture

I try:

 dim imageView as new NSImageViewMBS
 dim view as NSViewMBS

   imageView.image = new NSImageMBS(pic, mask)
   View = iv
   i.view = View
   m.AddItem i

But it doesn't work. I want the menu item to show the picture. I don't want to 
use the .image property of NSMenuItemMBS because that is supposed to be a small 
icon and a larger picture makes the menu item very wide. the view should let 
the image be the whole width. Any help?

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

Reply via email to