THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/05/2004 at 22:14, xxxxxxxx wrote:
Cinema 4D Version: 8.500
Platform: Windows ;
1. Question: how i can send own custom messages? Is a unique ID for such own message needed?
2. Question: how i can change the icon of a tag 'on the fly'? (like icon of the instance object).
On 25/05/2004 at 17:44, xxxxxxxx wrote:
1. You can use SpecialEventAdd() with a unique plugin ID to send CoreMessage(), or simply Message() with a unique ID to send normal Atom messages.
2. I don't think it's possible, since the icon is shared between all instances of the tag. (Btw, does the instance object icon ever change? It didn't seem to when I tested it.)
On 25/05/2004 at 22:10, xxxxxxxx wrote:
Instance object change own icon, if no master object assigned.
On 27/05/2004 at 05:18, xxxxxxxx wrote:
Ok, that's right. Unfortunately, according to the programmers, this isn't possible for plugin objects (or tags).
On 13/02/2007 at 12:32, xxxxxxxx wrote:
Well change icon was not possible with C4D 8.5 SDK but is it possible with SDK 9.6 or 10.0 ???
On 13/02/2007 at 13:07, xxxxxxxx wrote:
MSG_GETCUSTOMICON R10 only
On 16/02/2007 at 05:50, xxxxxxxx wrote:
One question more, how it used in TagData::Message()?
For me it is not working...
On 16/02/2007 at 05:58, xxxxxxxx wrote:
Hmm, I don´t know actually. I haven´t tried it yet. Spontaneously it should simply work like so:
GetCustomIconData* gcid = static_cast<GetCustomIconData*>(data);
if(gcid && bmp)
bmp->CopyTo(gcid->dat->bmp); //Or fill it otherwise
gcid->filled = TRUE;
If it doesn´t I cannot say why.
On 16/02/2007 at 06:02, xxxxxxxx wrote:
I just read that you can also directly assign your own bitmap when it´s not yet set up.