thank you. I will take a look at it shortly.. thank you!
> Christian Schmitz <mailto:[email protected]> > November 4, 2012 3:14 PM > > > I sent you an example (which will be included in next pr). > > Greetings > Christian > > Christian Schmitz <mailto:[email protected]> > November 4, 2012 4:30 AM > Am 04.11.2012 um 05:34 schrieb scott<[email protected]>: > >> All, >> >> tmpNSMIBS = new NSMenuItemMBS >> tmpNSIVMBS = new NSImageViewMBS( 0,0,unknown_16.Width, >> unknown_16.Height ) >> tmpNSIVMBS.Image = new NSImageMBS( unknown_16 ) >> tmpNSMIBS.view = tmpNSIVMBS >> app._MenuItemsStatic.Append tmpNSMIBS >> app._mbsmMain.addItem app._MenuItemsStatic( app._MenuItemsStatic.Ubound ) > > I think if you use a view, you should keep reference to RB view object. > When using a view, you draw yourself, so the default drawing of image is off. > >> version 2: >> tmpNSMIBS = new NSMenuItemMBS >> tmpNSMIBS.Enabled=true >> tmpNSMIBS.tag=203 >> tmpNSMIBS.Image= new NSImageMBS( unknown_16,unknown_16.Mask ) >> app._MenuItemsStatic.Append tmpNSMIBS >> app._mbsmMain.addItem app._MenuItemsStatic( app._MenuItemsStatic.Ubound ) > > > This should work. > > Does our Statusitem example work for you? > Not that we broke something. > > Greetings > Christian > _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
