jared:
I’m stuck trying to get my plugin to resize properly. I’m using my own gui library, and Reaper x64 for testing.
I have a custom View class that inherits from CPluginView, and i have overridden the canResize() and checkSizeConstraint() functions to return true.
When the plugin first starts, Reaper’s window border adjusts to the size of the plugin correctly.
When I attempt to resize the window (from the plugin) using the IPlugFrame’s resizeView(), the plugin scales fine but Reaper’s FX window stays the same size (leaving a white border or clipping the plugin).
I’m able to resize Reaper’s FX window manually, however I have not been able to change it at all from the plugin.
Does anybody have any thoughts on what I might be missing? Thanks for reading!
Hey,
my synthesizer plug-in (http://www.hansen-audio.de ) can resize from 100% to 150% and 200%. I think that this is what you want to achieve as well, right?
I am using Reaper regularly and it seems to work fine here. The Reaper frame adapts to editor size correctly after resizing was initiated from the plug-in side.
The GUI of my plug-in is done with VSTGUI and I used this example as a base: https://github.com/steinbergmedia/vstgui/blob/develop/vstgui/tests/uidescription%20vst3/source/zoomtest.cpp
Maybe this helps a bit to see which sequences need to be done.
René