How to handle window resize on VST

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi,

I'm wondering how can we allow a plugin window to be resized. Does anyone know?

Thx!

Regards,

Nuno

Post

Yes - you request the size you want.

So you just need to change your UI to the new size, then call sizeWindow() on the AudioEffectX.

There is no guarantee the host is displaying your UI inside a system window, so if you want drag/drop resizing you need to handle it yourself.

Post

Hey,

Thanks for the reply. I will try!

Regards,

Nuno

Post

Just be aware that it is still not implemented in Cubase on Windows (works on Mac though)...

Post

18 months on it is still the case that Cubase 10 does not support resizing on Windows, but does on Mac. Very strange when Steinberg themselves own the VST 2.4 specification (13 years old now). I understand that Steinberg want to phase out the use of VST 2.4, so probably will never get fixed.
In developing my VidPlayVST plugin I found that all the other major DAWs reliably support resizing. For Cubase in Windows I wrote a bit of code that interrogates the window hierarchy and resizes the plugin wrapper (but no guarantee it will continue to work if Steinberg change their wrapper design).

Post Reply

Return to “DSP and Plugin Development”