Change tag icon
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/10/2008 at 07:52, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.5
Platform: Windows ;
Language(s) : C++ ;---------
Hello all,
i'm serching some example to change icon of my plugintag.
in particular in mytag container i have a linked Baselist2d element and i need to get icon from this and use on my tag.
is possible ?
Thanks
Franz -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/10/2008 at 03:58, xxxxxxxx wrote:
Use the MSG_GETCUSTOMICON message to change icons.
little example:
>
\> Bool LookAtCamera::Message(GeListNode \*node, LONG type, void \*data) \> { \> if(type == MSG_GETCUSTOMICON) \> { \> GetCustomIconData \*cid = (GetCustomIconData\* )data; \> if(cid) \> { \> cid->dat->bmp = m_bitmap; \> cid->filled = TRUE; \> } \> } \> \> return TRUE; \> } \>
cheers,
Matthias