THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/12/2002 at 05:21, xxxxxxxx wrote:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ;
I 've got a nice preview bitmap in my object now.
It is implemented as shown in the "Bitmap for PuginObjects" Thread
But i don't know how to update it
On 09/12/2002 at 09:41, xxxxxxxx wrote:
In GetDParameter() you should increment the 'dirty' variable of the BitmapButtonStruct everytime the bitmap needs to be updated.
On 17/02/2003 at 10:51, xxxxxxxx wrote:
Is it that simple? It doesn´t work for me. I am incrementing it all the time (dirty++) so it should update all the time shouldn´t it?
On 17/02/2003 at 14:26, xxxxxxxx wrote:
already got it.
On 25/02/2005 at 20:04, xxxxxxxx wrote:
Samir, I seem to be having a problem incrementing 'dirty'.
Can you possibly shed some light on how you got it working?
On 26/02/2005 at 07:28, xxxxxxxx wrote:
Here is a codesnippet:
Bool TreeGenData::GetDParameter(GeListNode* node, const DescID& id, GeData& t_data, LONG& flags)
BitmapButtonStruct bbs(static_cast<PluginObject*>(node), id, bn_dirty);
t_data = GeData(CUSTOMDATATYPE_BITMAPBUTTON,bbs);
flags |= DESCFLAGS_PARAM_GET;
return ObjectData::GetDParameter(node, id, t_data, flags);
Hope that helps
On 26/02/2005 at 08:18, xxxxxxxx wrote:
Thanks Samir, that is pretty much identical to what I've been trying, except I have only been incrementing it in response to a combobox ID.
I tried with other control IDs, and everything seems to work except the combobox.
I even tried incrementing 'dirty' in 'default:' and it just wont respond to the combobox.