• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: random signal 10/11 msg when terminating the app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: random signal 10/11 msg when terminating the app


  • Subject: Re: random signal 10/11 msg when terminating the app
  • From: j o a r <email@hidden>
  • Date: Sun, 8 Dec 2002 12:31:18 +0100

Another thing to think about is that NSMenuView is a deprecated class that you really shoudn't use at all. It's in the documentation.

j o a r

On Sunday, Dec 8, 2002, at 12:11 Europe/Stockholm, Janek Priimann wrote:

Yeah, I figured it out what was wrong, the menuview was being owned already by another window. It seems that when you create a instance of NSMenuView it also creates a borderless window for itself so the whole bug seemed to be related with that. I assumed that views don't create windows for theirselves.

the bug was> [window setContentView:menuView];
and after removing that old 'window' code and using [menuView window] instead it started working correctly.

Hopefully this will help people who run into the same problem.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: [req] cocoa-gui for mantis
  • Next by Date: Cocoa Book
  • Previous by thread: Re: "First Run" installation of Application support stuff?
  • Next by thread: Cocoa Book
  • Index(es):
    • Date
    • Thread