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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    LinkBox Like CustomGUI

    SDK Help
    0
    3
    277
    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
      Helper
      last edited by

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

      On 05/08/2004 at 21:53, xxxxxxxx wrote:

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

      ---------
      Howdy,

      I have my CustomGUIs working fine technically. Aesthetically one is giving me trouble. I would like the UserArea to react the way the LinkBox list reacts in the Selection Object. In that it fills the space vertically in the AM. If a new user data is added the LinkBox gets shorter but the entire area is still filled. The area shrinks until it hits a minimum size ( seems to be around two links or lines ). This is exactly what we are wanting and now we know it can be done. Please, how could we achieve this?

      Best Regards,
      darf

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

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

        On 08/08/2004 at 22:32, xxxxxxxx wrote:

        I'm investigating. Just for the record, this is an IN_EXCLUDE element not a LINK.

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

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

          On 08/08/2004 at 22:53, xxxxxxxx wrote:

          There are two things to getting this effect. Firstly, the group in the description resource has to have the SCALE_V flag:

              
              
              GROUP MY_GROUP  
              {  
                DEFAULT 1;  
                SCALE_V;  
                
                MY_ELEMENT MY_ID { ... };  
              }
          

          Secondly, the actual iCustomGui dialog has to have the proper SCALE_V flags set so that it will scale with the AM group:

              
              
              Bool MyiCustomGui::CreateLayout (void)  
              {  
                return LoadDialogResource(MY_DIALOG, NULL, BFV_SCALEFIT);  
              }  
                
              DIALOG MY_DIALOG  
              {  
                GROUP  
                {  
                  SCALE_V;  
                  MULTILINEEDIT ... { SCALE_V; ... }  
                }  
              }
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post