Hi - New to VSTGUI and need help with a basic question. I’d like to have a GUI element similar to an LED that displays the status of one of my VST parameters. It’s a simple bool param, so e.g. a green circle bitmap if true and a grey circle bitmap if false. I already have the parameter working (it queries via MIDI to detect if certain hardware is connected or not; it works properly with a generic gui (setting slider to 0 or 1 on startup).
Which view class should I use to implement this? I tried COnOffButton, with a read-only parameterFlag to prevent the user from changing the value. But I don’t know how to have the GUI element reflect the internal parameter value. The control-tag is already set to the parameter ID.
I suspect I need some sort of listener to inform the GUI or host that the parameter value has changed. Or is there a specific GUI view element that is made for this purpose?
Thanks for any help.