csouza:I am able to negotiate the AVXATTR_Effect_ModalUI attribute to open a UI using a ACFCompType_ModalUI component. It creates a button on the effect editor panel with a button in it.
This is the only safe way to display a model UI from the Effect Editor.
If you need more model UIs, then there are many options that have been used by other AVX developers.Here are just a few:
* Start with a modal dialog that allows some simple additional options, closing and opening to different dialogs as necessary until IAVXModelUI::DoDialog returns.* Create a model UI with some sort of tabbed or paging UI.* Define a silent menu/list for the Effect Editor to select which model UI to display when editor clicks the "..." button.
FYI, there are AVX plugins that have defined mulple checkboxes to display custom modal UIs from their IAVXUpdateParams::DoUpdate method implementation. This is now supported because it often leads to "undefined behavioir", i.e. crashing, since there is no guarantee Media Composer will be in a safe state to handle foreign event processing.
© Copyright 2011 Avid Technology, Inc. Terms of Use | Privacy Policy | Site Map | Find a Reseller