Hello, I have created my custom MFC CDialog class based on a template (ex. IDD_MYDIALOG). In this class I can define the logic to bind UI elements (MFC controls for instance) to Wwise parameters. As far as I understood, this is the only way at the moment to link to inner types (plugin) properties. n the member classes such as OnDialogInit.
However It feels like Wwise is in control of which dialogs get created in the function IAudioPlugin::GetDialog() and I am only able to return the ID of my dialog template such as IDD_MYDIALOG.
It looks like the dialog is created from the template ID rather than my custom dialog class deriving from CDialog where I have defined all the logic.
How can I create an instance of my custom CDialog class and use the dialog as Settings or Contents Editor Dialog?
Is it something I have to do in the Plugin CWinApp?
What should I then return in IAudioPlugin::GetDialog?