Parameter change event?
Posted: Tue Feb 21, 2012 4:27 pm
				
				I think I asked about this at the church ages ago and I think the answer may have been "use HandleGUIMessage" but maybe the answer has changed with the passing of time, so I'll ask again.
Is it possible to have the GUI be notified of parameter changes? I looked around and thought that maybe adding a handler to IParameter.PropertyChanged might be what I wanted but it doesn't seem to get called when I move the slider. I also noticed these...
...but I can't see any info on how they're used.
			Is it possible to have the GUI be notified of parameter changes? I looked around and thought that maybe adding a handler to IParameter.PropertyChanged might be what I wanted but it doesn't seem to get called when I move the slider. I also noticed these...
Code: Select all
void SubscribeEvents(int track, Action<IParameter, int> valueChanged, Action<IParameter, int> valueDescriptionChanged);
void UnsubscribeEvents(int track, Action<IParameter, int> valueChanged, Action<IParameter, int> valueDescriptionChanged);