I spent a ton of time making Compositor's menus as a nib, and for
some reason it won't load.
I get a -10 error with SetMenuBarFromNib. The names are the correct
ones as far as I can tell.
long if ( fn CreateNibReference( fn CFSTR("MainMenu"), @nib ) ==
_noErr )
err = fn SetMenuBarFromNib( nib, fn CFSTR( "MenuBar" ) ) // MainMenu
doesn't work either.
long if (err == _noErr)
<snipped>
xelse
stop STR$(err) // yields -10
end if
end if
Any suggestions? I can only find one reference on the web thus far
and the solution was unclear. They mentioned trying CFShowPackage or
something?
r
c