IN_EXCLUDE accept list



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

    On 23/04/2005 at 05:36, xxxxxxxx wrote:

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

    ---------
    Hi,

    Im trying to use a IN_EXCLUDE gadget in my dialog. I want it to accept only Obase objects

    My code is

      
          IN_EXCLUDE IDC_OBJECTS  
          {  
            ALIGN_TOP; FIT_H; SCALE_H;   
            NUM_FLAGS 0;   
            INIT_STATE 0;   
            SEND_SELCHNGMSG 0;   
         ACCEPT { Obase; }        
              
          }  
    

    The doc says I must use ACCEPT { Obase; }, but Cinema 4D shows a resource error on the ACCEPT { Obae; } line

    Any reason why?



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

    On 23/04/2005 at 07:02, xxxxxxxx wrote:

    Hello,
     
    I would say it doesn't work because after ACCEPT { Obase; } there also should be a " ; ".
     
    So it should say:
     
    IN_EXCLUDE IDC_OBJECTS
          {
            ALIGN_TOP; FIT_H; SCALE_H;
            NUM_FLAGS 0;
            INIT_STATE 0;
            SEND_SELCHNGMSG 0;
         ACCEPT { Obase; } ;     
           
          }
     
     
     
    Dani



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

    On 23/04/2005 at 08:28, xxxxxxxx wrote:

    Sadly, that still doesn't work

    Strangely enough

      
    LINK IDC_LINK  
    {  
    ACCEPT { Obase; }  
    }  
    

    doesn't work either, I get the same error. Its as if ACCEPT doesn't exist for Dialog resources.
    And ive used ACCEPT loads a times in description resource files.

    So is there a possibility that dialogs resource files dont support ACCEPT?



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

    On 03/05/2005 at 02:25, xxxxxxxx wrote:

    It looks that way. You'll have to check the MSG_DESCRIPTION_CHECKDRAGANDDROP message yourself in the dialog.


Log in to reply