THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/06/2005 at 07:19, xxxxxxxx wrote:
Cinema 4D Version:
Platform: Windows ;
Language(s) : C++ ;
Can someone help met with the CUSTOMGUI_LINKBOX ?
I want to use this in a dynamic group.
I have for example MyDropBox = (LinkBoxGui* )AddCustomGui(My_DROP_BOX, CUSTOMGUI_LINKBOX, "HelloWorld", BFH_LEFT, 200,0,NULL)
The Linkbox appears, but no HelloWorld text. Cannot find a link(GetLink) too.
Must be the text parameter in the AddCustomGui or what else ?
How do i set the Accept types etc. Seen this for the Description variant, but how is it done dynamic in AddCustomGui?
On 23/06/2005 at 01:49, xxxxxxxx wrote:
Ok, figured ou this and that, but how to set an accept list, that's a problem.
So if anyone ?
And: correction, no "Hello World", my mistake and not needed anyway.
On 23/06/2005 at 02:00, xxxxxxxx wrote:
It seems that when i'm dropping an object in the CUSTOMGUI_LINKBOX,
the link is not actual there, the box is empty.
do i have to set the link myself ?
On 23/06/2005 at 02:15, xxxxxxxx wrote:
So, how can i filter (get) the
LINKBOX_ACCEPT_MESSAGE_TYPE 's ??
On 23/06/2005 at 02:48, xxxxxxxx wrote:
ok, found out, it was a stupid
A remainder of the SDK example with a statictext.
Sorry for the fuzz, but i think i was talking to myself.
(quite therapeutic it seems)
On 23/06/2005 at 06:24, xxxxxxxx wrote:
Not ready: 1. i still can't set the accept objects and 2. i don't know how to check wich object type is about to be dropped. I got this:
GeData data = msg.GetData(LINKBOX_ACCEPT_MESSAGE_TYPE);
LONG t = data.GetLong()
GePrint("Type = " + LongToString(t));
Gives allways the type 201, this is not the way to do this.
but how 1 and 2
On 24/06/2005 at 12:54, xxxxxxxx wrote:
Anyone there ? Hello, hello, hello, hello.....
On 27/06/2005 at 15:20, xxxxxxxx wrote:
Perhaps you could register two users for your own conversations?
Here's some sample code:
Bool* accept = (Bool* )msg.GetVoid(LINKBOX_ACCEPT_MESSAGE_ACCEPT, NULL);
LONG type = msg.GetLong(LINKBOX_ACCEPT_MESSAGE_TYPE);
BaseObject* op = (BaseObject* )msg.GetVoid(LINKBOX_ACCEPT_MESSAGE_ELEMENT);
if (accept && op) *accept = op->IsInstanceOf(Xlayer);
On 30/06/2005 at 08:04, xxxxxxxx wrote:
Thanks Mikael, got it working.
Yes, its a shame, sometimes a man can feel very lonely, but i know you'r doing wat you can.