THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/02/2006 at 13:23, xxxxxxxx wrote:
Do you mean information in the Attribute Manager?
This is done in two ways:
1. Statically: by defining the .res, .str, and .h files that define the Descriptions for the Tag. Say you have a TagPlugin given Tmytag, then you need a Tmytag.h, Tmytag.res, and Tmytag.str, the latter go into the 'res/description' and 'res/strings_XX/description' folders, respectively.
2. Dynamically: by creating description types and adding to the description. In C++, this is accomplished with GetDDescription(). No idea about COFFEE.
If you only need static description resources, you just create a header with an enum for the .res elements. See "Description Resource" in the C++ SDK Docs for information on what is in the .res file (very similar to Dialog resources, but not identical). The .str file contains strings for your description elements, basically text for buttons, boxes, groups, etc.