THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/08/2012 at 11:50, xxxxxxxx wrote:
Hi,
Well I have CodeEditorGUI, you can find it here:
http://code.google.com/p/code-editor-gui/
Now I want to send Message from this GUI to the ObjectPlugin.
This is something like Button GUI do if you press on it, it will send MSG_DESCRIPTION_COMMAND with DescriptionCommand data.
The button element creates a clickable button in the description list. It does not directly correspond to an item in the container.
**Note:** Listen for [ MSG_DESCRIPTION_COMMAND](../c4d_baselist/enum_MSG_Atom1026.html#msg_description_command11) in [NodeData](../c4d_nodedata/class_NodeData1066.html)::[Message()](../c4d_nodedata/class_NodeData1066.html#message6). (See _MorphMixer.cpp_.)
Bool ObjectData::Message([GeListNode](../c4d_baselist/class_GeListNode585.html)* node, LONG type, void* data)
{
if(type==MSG_DESCRIPTION_COMMAND){
DescriptionCommand *dc = static_cast<DescriptionCommand*>(data);
///do something
}
return TRUE;
}
So the question is how to send this message from iCustomGui to the Object (or Tag) that uses this GUI ?
thanks,
Remo