OD_FILLPPDATA structure

struct {
	BOOL bModify;
	COLORREF clrFG;
	COLORREF clrBG;
	int nHatch;
	BOOL bTransparent;
	BOOL bBGTransparent;
	BOOL bSelFGColor;
	BOOL bSelBGColor;
	BOOL bSelHatch;
	BOOL bSelTransparent;
	BOOL bSelBGTransparent;
} OD_FILLPPDATA;
Used for passing data to and from a CODFillCompPP property page.

Defined in: OdFillCompPP.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).

clrFG

Fill foreground color.

clrBG

Fill background color.

nHatch

Fill hatch style.

bTransparent

Indicates whether transparent fill is to be used.

bBGTransparent

Indicates whether fill background is transparent or contains the background fill color.

bSelFGColor

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

bSelBGColor

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

bSelHatch

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

bSelTransparent

When passing data to CODFillCompPP, indicates whether transparent fill is shared amongst components. When receiving data from CODFillCompPP, indicates whether transparent fill flag has been changed by the user.

bSelBGTransparent

When passing data to CODFillCompPP, indicates whether background fill transparency is shared amongst components. When receiving data from CODFillCompPP, indicates whether background fill transparency 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).