Creating a Child Window

Hi

I have to implement a child window for allowing users to edit preferences of my VST plugin.

My main window is currently rendered from the controller using the uidesc file. I have added a button to this main window. When a user clicks this button, the preferences window should open up.

I have been struggling to get this right. I am fairly new to VSTGUI and the only real documentation is reading the actual source code, which I am slowly doing.

In the meantime any pointers on the correct approach or some code or just about any advice on achieving this please ? What classes should I read upon to implement this ? thanks

Just build up this “child view” via uidesc and create a controller which handles it and then after creating that view you use frame->beginModalSession (modalView) to start a modal session for that view. Your controller than later on needs to call endModalSession() when it’s time to stop the modal view session.

Hello, I’m trying to do something similar to this thread, having a popup window, however I am trying to build a modeless window so that I can view events as they occur in a separate window without blocking my plugin surface.
I am using the approach of creating a HINSTANCE and then, like the solution above: getting the View from my UIDesc and placing it in a frame on the window.
Is there a better way to do this via VSTGUI (ie to create a modeless view)
Thank you