Message Data doesn't receive message

  • On 24/08/2016 at 04:43, xxxxxxxx wrote:

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


    I have a MessageData plugin and in its CoreMessage method i check for EVMSG_DOCUMENTRECALCULATED. Then I move the main camera in the viewport, but the event never reaches there. Message data receives EVMSG_DOCUMENTRECALCULATED events but not the camera one. Nevertheless, if the CoreMessage is implemented in a GeDialog, it receives the camera events correctly.

    What's wrong with the message data ? I register the plugin using RegisterMessagePlugin.

    Also, does the CoreMessage return value do anything ? The API says it doesn't.

    Thank you for your time.

  • On 24/08/2016 at 05:03, xxxxxxxx wrote:


    Correction: MessageData doesn't receive EVMSG_ASYNCEDITORMOVE. 
    That's the event I want to catch.


  • On 25/08/2016 at 02:28, xxxxxxxx wrote:


    EVMSG_ASYNCEDITORMOVE is only send to dialogs. Sorry.
    We are aware that our documentation is sub-optimal on this topic. It is on our list, but we will need time to thoroughly improve the docs on this matter.

  • On 25/08/2016 at 03:04, xxxxxxxx wrote:


    No problem for the docs.
    So, if I want to catch EVMSG_ASYNCEDITORMOVE and redirect them to a MessageData, I have to do it using only a dialog right ?

    Thank you.

  • On 29/08/2016 at 08:48, xxxxxxxx wrote:

    Basically this should work, yes.

Log in to reply