Resizeable GUI implementation

SDK for VST 3 audio plug-in and host development.
aabyssx
Posts: 2
Joined: Sun Mar 18, 2018 4:36 pm

Resizeable GUI implementation

Postby aabyssx » Mon Mar 19, 2018 9:13 am

This might be off topic, sorry for that, but I have no idea where to ask for assistance.
I am developing a 2.4 plugin for Windows with sizeable GUI. To resize the host's plugin window I call the effect's sizeWindow mehod.
It works with all my hosts except Cubase (LE9 9.0.20 Build 209, 64 bit) where the plugin's sizeWindow method does not resize the window (and returns false). Also canHostDo("sizeWindow") returns false.
Yet I see other plugin developers implementing a resizable GUI that works in Cubase, too. How do they do it?
(I can manipulate the host's plugin window by calling SetWindowPos but there has to be a better way.)

Arne Scheffler
Posts: 184
Joined: Mon Jun 20, 2016 7:53 am

Re: Resizeable GUI implementation

Postby Arne Scheffler » Mon Mar 19, 2018 12:20 pm

Cubase does not support the VST2.x sizeWindow method. Consider porting your plug-in to VST3 for this.
Also, please don't touch the host window. It's not guaranteed that your plug-in will work in a future version of Cubase.

Cheers
Arne

aabyssx
Posts: 2
Joined: Sun Mar 18, 2018 4:36 pm

Re: Resizeable GUI implementation

Postby aabyssx » Wed Mar 21, 2018 7:54 pm

Thank you for the reply.
Any ideas how other 2.4 plugin's implement the GUI resizing in Cubase (e.g. Reaktor)?


Return to “VST 3 SDK”

Who is online

Users browsing this forum: No registered users and 1 guest