Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Register
    • Login

    CUSTOMGUI_LINKBOX

    Scheduled Pinned Locked Moved SDK Help
    9 Posts 0 Posters 827 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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:

      User Information:
      Cinema 4D Version:    
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi,
      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?
      Regards,

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        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.
        regards,

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          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 ?
          regards,

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 23/06/2005 at 02:15, xxxxxxxx wrote:

            So, how can i filter (get) the

            LINKBOX_ACCEPT_MESSAGE_TYPE 's ??
            
            regards,
            
            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 23/06/2005 at 02:48, xxxxxxxx wrote:

              ok, found out, it was  a stupid
              'return SetDragDestination(MOUSE_POINT_HAND'
              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)
              regards,

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 23/06/2005 at 06:24, xxxxxxxx wrote:

                eeeeehh,
                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:
                  case MSG_DESCRIPTION_CHECKDRAGANDDROP:
                  {
                    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
                regards,

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 24/06/2005 at 12:54, xxxxxxxx wrote:

                  Anyone there ? Hello, hello, hello, hello.....
                  regards,

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    Helper
                    last edited by

                    THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                    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);
                    
                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      Helper
                      last edited by

                      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                      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.
                      regards,

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post