Deleting memory and settings pointers back to null is done quite frequently when coding in c++ and VST development is no exception. The WDL library includes a few macros to help with this task but I added another.
When you use a plugin from Waves or other “big name” you will be able to left click or double click to be able to type in settings. IPlug requires you use the right mouse button only. I wanted to be able to edit VST plugin parameters with the left mouse button so I added two new methods to ICaptionControl.
IParam allows you to set special labels at particular values of your parameter’s range. For instance, you could have a volume fader that goes from 0dB at the top to -96dB at the bottom. What if instead you want the bottom to be muted and show “Mute” or “-oo” instead? Here’s how.
The font rendering in IPlug is a bit lacking. Out of the box, all text on a plugin must be the same style, size and weight. This practically forces you to use rendered text on the skin of your plugin, or you are restricted to boring text. Here is a solution for better font rendering on Windows.