>> That's what the nmRefCon field is for.
this Icon is ignored. It's only used under classic to it blink in the
Apple Menu.
Anyway I tried to abuse that field and pass my argument through that to
the callback, but it caused a crash, when the callback routine was
called. (Why it causes a crash, when we don't need that field anymore?)
So I still don't know how to pass a different argument than the pointer
to the NMRecord to the callback routine.
All the best
Matthias
-----------------------------------------------
Admilon Consulting GmbH
http://www.admilon.com
iChat/AIM: MatKoyasan
Tel. +81-736-56-3905
-----------------------------------------------
Am/On Wed, 9 Nov 2005 12:43:36 -0500 schrieb/wrote Laurence Harris:
>On 11/9/05 12:23 PM, James W. Walker didst favor us with:
>
>>
>> On Nov 9, 2005, at 9:17 AM, Matthias Schmidt wrote:
>>
>>> how can I pass an argument (in this case an IconRef) to a callback
>>> method of the notification manager ?
>>> if i try to abuse one of the fields of the NMRec the thing is
>>> crashing.
>>
>> That's what the nmRefCon field is for.
>
>The icon is ignored in Mac OS X if I recall correctly.
>
>Larry
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden