Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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
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; \> } \>
\> 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