CGXStyle::SetIncludeUserAttribute
CGXStyle& SetIncludeUserAttribute(WORD nID, BOOL b);
nID
A string resource id where the string resource contains the base style name.
b
TRUE if user attribute should be marked as initialized; FALSE otherwise.
Return Value
Returns the this pointer.
Remarks
Specifies whether the specified attribute should be marked as initialized.
When you call SetUserAttribute, the attribute will automatically be marked as initialized. You need not call SetIncludeUserAttribute explicitly.
Note: If you want user attributes to appear on the user attribute page of the CGXStyleSheet you can use nID as user-defined attribute, you have to register it with CGXStylesMap::AddUserAttribute. See CGXStylesMap for instruction on how to do this.
See Also
CGXStyle::GetIncludeUserAttribute CGXStyle::GetUserAttribute CGXStyle::SetUserAttribute CGXStylesMap::AddUserAttribute CGXAbstractUserAttribute