OD_GENERALPPDATA structure

struct {
	BOOL bModify;
	CString strName;
	CString strType;
	BOOL bTransparent;
	COLORREF clrTransparent;
	BOOL bHasBitmap;
	BOOL bSelName;
	BOOL bSelType;
	BOOL bSelTransparent;
	BOOL bSelTransparentClr;
} OD_GENERALPPDATA;
Used for passing data to and from a CODGeneralCompPP property page.

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

strName

Component name.

strType

Component type (not altered by CODGeneralCompPP).

bTransparent

Bitmap transparency.

clrTransparent

Bitmap transparency.substitution color

bHasBitmap

Indicates if text property applies to component(s).

bSelName

When passing data to CODGeneralCompPP, indicates whether the component name is shared amongst components. When receiving data from CODGeneralCompPP, indicates whether the component name has been changed by the user.

bSelType

When passing data to CODGeneralCompPP, indicates whether the component type is different amongst the components.

bSelTransparent

When passing data to CODGeneralCompPP, indicates whether the component transparency flag is shared amongst components. When receiving data from CODGeneralCompPP, indicates whether the component transparency flag has been changed by the user.

bSelTransparentClr

When passing data to CODGeneralCompPP, indicates whether the component transparency color is shared amongst components. When receiving data from CODGeneralCompPP, indicates whether the component transparency 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).