Prototype
const char* __cdecl fnGetAttributeName ( unsigned long ulThemeKey, size_t nCol );
Return value
A string giving the name of the attribute with index nCol.
Parameters
ulThemeKey
Theme specific data. This value was defined by the plugin in the fnLoadShapes function.
nCol
Zero-based index of the column in question. 0 <= nCol < fnGetAttributeCount(ulThemeKey).
Remarks
This function is called by ShapeUp to get the attribute names to be displayed in the header of the data view.
Example
const char* __cdecl fnGetAttributeName ( unsigned long ulThemeKey, size_t nCol ) { MyThemeData *pData = (MyThemeData*) ulThemeKey; if (nCol < pData->nAttributeCount) return pData->names[nCol]; return "##ERROR##"; }
See Also
Loader API, fnLoadShapes, fnGetAttributeCount