On 02/03/2014 at 11:25, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13,14,15
Platform: Windows ;
Language(s) : C++ ;
---------
Hi, this is my main issue right now:
In my iCustomGui I have added a control doing
AddEditNumberArrows(10002, BFH_FIT, 300);
I can always read the value from the control (the gadget) using:
Real realValue = 0;
Bool b = GetReal(10002, realValue);
Then the Boolean b is always TRUE and I can read the number.
But this fails:
Bool b = SetReal(10002, 66.3, 0.0, 100.0, 0.1, FORMAT_REAL);
it often fails in the virtual function Bool SetData(const TriState<GeData> &tristate) in my iCustomGui.
I haven't found a pattern yet, and ask here if some of you can recognize this problem. I know it is a little exotic to work with the iCustomGui, judging from the (lack of) response on such questions, but I hope you know what this can be!