Color chooser

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

On 07/01/2005 at 06:21, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.200 
Platform:   Windows  ; Mac  ;  
Language(s) :   C.O.F.F.E.E  ;

---------
Hi all, can someone tell me how to add a color chooser to a dialogue? The SDK states :

AddColorChooser([int] id, [int] flags, [int] initw, [int] inith);

My code example:

  
AddSeparatorH(150);  
AddGroupBeginH(10050,0,1,"",0);  
AddColorChooser(10051, 0, 150, 50);  
AddGroupEnd();   
  

Sadly, this does not work, the COFFEE compiler emmits an error abot having to few parameters.

Thanks

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

On 08/01/2005 at 09:04, xxxxxxxx wrote:

what a drag...was the question too dumb? _<_sigh_>_

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

On 08/01/2005 at 11:22, xxxxxxxx wrote:

Not at all, but you may want to check the 8.2 "geuserdialog.cox" and "gui_defines.cox" files in Resource:modules:coffee. There is a new parameter for AddColorChooser(id,flags,initw,inith, colorflags ). 🙂

Robert

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

On 08/01/2005 at 12:49, xxxxxxxx wrote:

Thanks a lot kuroyume0161 🙂