THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/12/2004 at 04:54, xxxxxxxx wrote:
Cinema 4D Version: 8.207
Platform: Windows ;
Language(s) : C++ ;
I did a customgui together with a custom datatype some time ago, that one works.
Now I want to make a customgui for a standart datatype, in my case for STRING. The problem: The SetData function is never called by cinema, so container data is never transfered to the gui. I posted this problem half a year ago, with no result. Today I'm at the point that I really need a customgui, and again I hang at the same point.
On 16/12/2004 at 05:53, xxxxxxxx wrote:
After trying nearly everything I made a CustomDataTypeClass. This one is nearly empty, not a real datatype, I only filled in getid and GetDefaultProperties, which maps to my customgui. The other functions only would be called if I'd try to set the container value by converting the own datatype to GeData and use SetData to set it. But I don't do, I use SetString/GetString to access it, so the container value will be a string....et voila, SetData of my gui is called, I convert it back to a string, and now the gui completely works.....
Strange thing, isn't it?
On 17/12/2004 at 15:34, xxxxxxxx wrote:
Sorry for the delay. A code example, the same as I sent to you by email, has now been posted in a later thread. (Search for "MyStringGUI".)