CGXProperties::GetUserProperty
const CGXStyle& GetUserProperty(WORD nID);
nID
String resource id with the user property’s name.
Return Value
A reference to the style-object. You should call style.GetValue() to determine the current value for the user-defined property.
Remarks
Call this method to determine the value of a specific user property.
Example
This example illustrates how Objective Grid determines the setting for the current cell-appearance:
const CGXStyle& style =
pProp->GetUserProperty(GX_IDS_OUTLINECURRENTCELL);
int nThick = 1;
if (style.GetValueRef() == pProp->sInvertDrawBorder)
{
...
}
else if (style.GetValueRef() == pProp->sInvertThickBorder)
{
...
See Also
CGXProperties::AddUserProperty CGXProperties::SetUserProperty