GeDialog in VideoPostData's Execute()...



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/12/2008 at 08:09, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R10 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
         ...freezes C4D.

    > LONG VideoPostPlug::Execute(PluginVideoPost \*node, VideoPostStruct \*vps) \> { \>      if (vps->vp==VP_INNER && vps->open) \>      { \>           TMdialog tmDlg; \> \>           tmDlg.Open(TRUE,NULL); \>      } \> \>      return GeDialog::Message(msg,result); \> }

    TMdialog is just a generic dialog that does next to nothing. if i call Open(FALSE,NULL) everything works fine(except TMdialog is now modal, i need it non-modal).

    I guess im overlooking something essential... please help :)

    Regards
    Yves



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/12/2008 at 12:40, xxxxxxxx wrote:

    ok, now im opening the dialog in Message() and it looks like it works.

    But its just a workaround, i'd like to know if theres a way to do it in Execute.

    Thanks in advance!
    Yves


Log in to reply