OD_FONTPPDATA structure

struct {
	BOOL bModify;
	CString strFaceName;
	LONG nPointSz;
	DWORD nStyle;
	BOOL bStrikeOut;
	BOOL bUnderline;
	COLORREF clrText;
	BOOL bSelFaceName;
	BOOL bSelPointSz;
	BOOL bSelStyle;
	BOOL bSelStrikeOut;
	BOOL bSelUnderline;
	BOOL bSelTextColor;
} OD_FONTPPDATA;
Used for passing data to and from a CODFontCompPP property page.

Defined in: OdFontCompPP.h

Members

bModify

When passing data to property page, indicates if component selection is to be enabled. When retrieving data from property page, indicates if values have been changed (values are invalid in this case if the flag is set to FALSE).

strFaceName

Font facename.

nPointSz

Font point size.

nStyle

Font style.

bStrikeOut

Strikeout effect.

bUnderline

Underline effect.

clrText

Text Color.

bSelFaceName

When passing data to CODFontCompPP, indicates whether font facename is shared amongst components. When receiving data from CODFontCompPP, indicates whether font facename has been changed by the user.

bSelPointSz

When passing data to CODFontCompPP, indicates whether font point size is shared amongst components. When receiving data from CODFontCompPP, indicates whether font point size has been changed by the user.

bSelStyle

When passing data to CODFontCompPP, indicates whether font style is shared amongst components. When receiving data from CODFontCompPP, indicates whether font style has been changed by the user.

bSelStrikeOut

When passing data to CODFontCompPP, indicates whether strikeout effect is shared amongst components. When receiving data from CODFontCompPP, indicates whether strikeout effect has been changed by the user.

bSelUnderline

When passing data to CODFontCompPP, indicates whether underline effect is shared amongst components. When receiving data from CODFontCompPP, indicates whether underline effect has been changed by the user.

bSelTextColor

When passing data to CODFontCompPP, indicates whether text color is shared amongst components. When receiving data from CODFontCompPP, indicates whether text color has been changed by the user.

Comments

When passing data to the property page, the bSelX members are set to FALSE if their corresponding initialization values are not shared amongst all the components being modified to which the value applies. When data is passed back from the property page, the bSelX members indicate whether their corresponding values were changed by the user. If no values have been changed, the bModified field will be set to FALSE and no other values will be passed back (i.e. if bModified is FALSE when data is passed back, the remainder of the data contained in the structure should be ignored).