Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

How to use custom MFC CDialog for Settings or Contents Editor Dialog in Wwise Plugin.

0 votes
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?
related to an answer for: Show inner object property in Wwise plugin
asked Mar 30, 2022 in General Discussion by Cosimo R. (140 points)
recategorized Apr 7, 2022 by Samuel L. (Audiokinetic)

Please sign-in or register to answer this question.

...