2004-06-11 05:03 PM - last edited on 2023-08-07 12:22 PM by Doreena Deng
2004-06-14 09:46 AM
API_Attribute attr; BNZeroMemory (&attr, sizeof (API_Attribute)); attr.header.typeID = API_LayerID; CHCopyC ("Text - Notes", attr.header.name); // now see if this layer exists if (ACAPI_Attribute_Search (&attr) == NoError) { // bingo! put the index in the element's header element.header.layer = attr.header.index; } else { // exercise for the reader // e.g. create a new, or // search for another suitable layer }HTH,
2004-06-14 04:08 PM
ACAPI_Attribute_Search (&attr.header)
2004-06-21 02:58 PM