Re: FW: Enabling and Disabling menus
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