THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/01/2003 at 14:30, xxxxxxxx wrote:
Here's a dummy GetDDescription() I added to my MSA object. It hides the POSITIONING_FROM_POS element:
Bool MSAObject::GetDDescription(GeListNode *node, Description *description,LONG &flags)
{
if (!description || !node) return FALSE;
if (!description->LoadDescription(node->GetType())) return FALSE;
AutoAlloc<AtomArray> ar; if (!ar) return FALSE;
ar->Append(static_cast<Atom*>(node));
BaseContainer* bc = description->GetParameterI(DescLevel(POSITIONING_FROM_SP), ar);
if (bc)
{
bc->SetBool(DESC_HIDE, TRUE);
}
flags |= DESCFLAGS_DESC_LOADED;
return ObjectData::GetDDescription(node, description, flags);
}