Disable element



  • On 30/07/2016 at 11:15, xxxxxxxx wrote:

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

    ---------
    Hello.

    What I want to do is to click on a button in a GeDialog and disable an element in a VideoPostData plugin.

    So, I implement VideoPostData's GetDEnabling to disable that element if the button is clicked in the dialog.
    I also add EventAdd in button's callback.

    Is this the right way to do it ?
    EventAdd seems to be heavy since it refreshes everything, while I want to refresh ony the render settings.

    THank you for your time.



  • On 01/08/2016 at 02:08, xxxxxxxx wrote:

    Hi,

    your approach seems a bit unorthodox to me. At least I'm not aware of places, where VideoPost settings are influenced in this was. So there's actually no right (in the sense of common) way to do it.
    That being said, I'm not aware of a better way.


Log in to reply