LinkBox Like CustomGUI



  • 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



  • 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.



  • 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; ... }  
          }  
        }
    

Log in to reply