InExcludeData selection?

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

On 03/03/2009 at 14:54, xxxxxxxx wrote:

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

---------
Howdy,

I'm trying to detect which element in the InExcludeData's list is selected, but can't quite figure it out. In the SDK documentation, it looks like there is a container that's either TRUE or FALSE, according to if the element is selected or not. The documentation says this:

BaseContainer* GetData(LONG lIndex)
Gets the data container for the item at lIndex.

Return

BaseContainer*
Data container:
Container ID                                         Type             Description
IN_EXCLUDE_DATA_SELECTION       Bool            TRUE if IN_EXCLUDE_FLAG_SEND_SELCHANGE_MSG is set and the object is selected in the list.

The list owns the pointed container.

Parameters

LONG lIndex
Object index. (0 <= lIndex < GetObjectCount())

But I can't find any examples showing how to set the IN_EXCLUDE_FLAG_SEND_SELCHANGE_MSG flag.

Any idea how you set that flag?

Adios,
Cactus Dan

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

On 03/03/2009 at 18:35, xxxxxxxx wrote:

Howdy,

OK, never mind I found the answer. You set the flag in the .res file with this:

> SEND_SELCHNGMSG 1;

It's all working now. 🐵

Adios,
Cactus Dan