Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

DocumentInfoData::data

 Post Reply Post Reply
Author
Message
Katachi View Drop Down
Member
Member
Avatar

Joined: 2002 Oct 30
Location: Germany
Online Status: Offline
Posts: 2543
Post Options Post Options   Quote Katachi Quote  Post ReplyReply Direct Link To This Post Topic: DocumentInfoData::data
    Posted: 2015 Nov 02 at 10:22am

User Information:

Cinema 4D Version:   16+ 
Platform:   Windows  ; Mac  ;  Mac OSX  ; 
Language(s):     C++  ;   

---------

Hi,

is there a list or something that shows what the DocumentInfoData::data pointer should be cast to according to each message type? The docs are silent about this just saying that this depends on DocumentInfoData::type.

Thanks
Back to Top
Katachi View Drop Down
Member
Member
Avatar

Joined: 2002 Oct 30
Location: Germany
Online Status: Offline
Posts: 2543
Post Options Post Options   Quote Katachi Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Nov 02 at 10:26am
I am interested to know the same for MessageFilter::data as well. Same issue.

Thanks
Back to Top
Yannick Puech View Drop Down
Forum Moderator
Forum Moderator


Joined: 2011 Apr 13
Location: Spain
Online Status: Offline
Posts: 1131
Post Options Post Options   Quote Yannick Puech Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Nov 03 at 3:22am
Hi,

Originally posted by Katachi

Is there a list or something that shows what the DocumentInfoData::data pointer should be cast to according to each message type? The docs are silent about this just saying that this depends on DocumentInfoData::type.
In the documentation for DocumentInfoData::type there's a link to MSG_DOCUMENTINFO_TYPE enum.
In this enum list data is only mentionned for these 2 DocumentInfo messages:

As for MSG_DOCUMENTINFO_TYPE_MAKEPROJECT the documentation isn't accurate: data actually points to a DocumentInfoMakeProj struct (contains the source and destination files plus allow copy and GUI states).

Originally posted by Katachi

I am interested to know the same for MessageFilter::data as well. Same issue.
MessageFilter::data is basically the same as the data parameter in NodeData::Message() for all other messages except this one. The pointed data depends on the MSG MessageFilter::type.


MAXON
Developer Support
Back to Top
Katachi View Drop Down
Member
Member
Avatar

Joined: 2002 Oct 30
Location: Germany
Online Status: Offline
Posts: 2543
Post Options Post Options   Quote Katachi Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Nov 03 at 3:43am
Excellent. Haven't seen the mentioned text. Thanks! Solved.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.094 seconds.