Re: ParameterChanged / FxParameterSettingAPI
Re: ParameterChanged / FxParameterSettingAPI
- Subject: Re: ParameterChanged / FxParameterSettingAPI
- From: Dave Howell <email@hidden>
- Date: Mon, 3 Apr 2006 13:45:20 -0700
On Apr 3, 2006, at 12:09 PM, Dave Howell wrote:
On Thu, 30 Mar 2006 21:04:41 -0600, David Farmer <email@hidden> wrote:
Within 'parameterChanged' I would like to change the enabled state of another parameter. The documentation states this is possible in a filter (which my plugin is ). I have not been successful at retrieving the FxParameterSettingAPI. I have not actually been able to retrieve any of the parameter APIs successfully. Any ideas? Should this be possible?
Yes, that should work.
In what context is parameterChanged being called? That is, is this in response to an event in a custom parameter or on-screen control, or just a value change for one of the standard plug-in types?
It is in response to a standard parameters being changed. Trying to retrieve the API within the parameterChanged function always yields NULL.
I can't think of a reason offhand why that API would return NULL, unless you don't have the API name listed in your plug-in's pList. But the Xcode templates have those APIs listed there, so unless you removed it, it should still be there and you should be able to get the API for the protocol.
Maybe a code snippet would help. Can you send a copy of your -parameterChanged: method? What is the appropriate function to retrieve the parameter setting API? Can it be cached?
No, API objects shouldn't be cached; they are not guaranteed to be valid between calls into your plug-in.
Dave |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden