THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/03/2006 at 11:21, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.5
Platform: Windows ;
Language(s) : C++ ;
---------
Hi everyone!
My question is simple but I have worked on it during a long time!
How do we add a Combo Box in the Attribute Manager of a Plugin of type ObjectData. I have tried to put this code in the resource (.res) :
COMBOBOX ID_COMB
{
ALIGN_TOP; ALIGN_LEFT; SIZE 150, 0;
CHILDS
{
ID_COMB1, IDS_COMB1;
ID_COMB2, IDS_COMB2;
}
}
where ID_COMB1,ID_COMB2 are defined in c4d_symbols.h and IDS_COMB1 and IDS_COMB2 in the file .str related to my Plugin as
STRINGTABLE Omyplugin
{
IDS_COMB1 "Comb1";
IDS_COMB2 "Comb2";
}
and Cinema4d does not load all the Attribute Manager because there is an error in the file .res.
I have also tried to use the function
int GetDDescription(GeListNode * node, Description * description, LONG & flags)
but I do'nt know which type of CUSTOMGUI use with "DESC_CUSTOMGUI" for a Combo Box : it is not CUSTOMGUI_STRING...