• 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: FW: Enabling and Disabling menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: Enabling and Disabling menus


  • Subject: Re: FW: Enabling and Disabling menus
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 23 Aug 2001 23:07:24 +0200

Searle,

>>>>>> Stuppel, Searle @ San Diego Central (SS) wrote at Thu, 23 Aug 2001
08:45:31 -0700:
SS> ...For some reason, it works when i use a NSMenu, but
SS> when i subclass NSMenu, it stops working, no matter how i implement it...

Why on earth do you subclass the NSMenu?!?

Well, I'm *NOT SURE AT ALL*, but I am afraid that in fact NSMenu just migth
be some ugly hack by itself in a line of class clusters (or worse), to
support properly the Carbon menu entrails. So it *MIGHT BE* possible that
subclass might work improperly where the original class worked right, even if
you made it correctly. I haven't tried, though -- NSMenu being one of a
relatively small number ;) of classes I've never subclassed yet.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >RE: FW: Enabling and Disabling menus (From: "Stuppel, Searle @ San Diego Central" <email@hidden>)

  • Prev by Date: Weird NSWindow aspectRatio behavior
  • Next by Date: Re: [(slightly) OT] Re: Docs
  • Previous by thread: RE: FW: Enabling and Disabling menus
  • Next by thread: RE: FW: Enabling and Disabling menus
  • Index(es):
    • Date
    • Thread