How convert CCButton in a Toggle Switch?

If these VSTs don't support relative messages, you'll have to use the CCAbsoluteEncoder class.

You can find a full overview of MIDI output elements on Control Surface: MIDI Output Elements.