CGXProgressCtrl::AddUserAttributes
static void AddUserAttributes(CGXStylesMap* pStylesMap);
pStylesMap
A pointer to the CGXStylesMap object.
Remarks
Call this static method to register user attributes with the styles-map. Registered user attributes will be displayed in the CGXStyleSheet and can be modified by the user with the style sheet.
If you don’t want the attributes to be visible in the CGXStyleSheet, you should not call AddUserAttributes. You will still be able to use user attributes in your grid. They will only be hidden from the user in the CGXStyleSheet.
- ::AddUserAttributes registers the following user attributes:
- GX_IDS_UA_PROGRESS_MIN - Lower bound for value
- GX_IDS_UA_PROGRESS_MAX - Upper bound for value.
- GX_IDS_UA_PROGRESS_CAPTIONMASK - Text to be displayed in cell (sprintf format for value).
See Also
CGXAbstractControlFactory::RegisterAllUserAttributes CGXStylesMap::AddUserAttribute