OD_TEXTPPDATA structure

struct {
	BOOL bModify;
	CString strText;
	BOOL bMultiLine;
	BOOL bWordBreak;
	int nHorzAlign;
	int nVertAlign;
	BOOL bSelText;
	BOOL bSelMultiLine;
	BOOL bSelWordBreak;
	BOOL bSelHorzAlign;
	BOOL bSelVertAlign;
} OD_TEXTPPDATA;
Used for passing data to and from a CODTextCompPP property page.

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

strText

Text value.

bMultiLine

Multi-line flag.

bWordBreak

Word break flag.

nHorzAlign

Horizontal alignment.

nVertAlign

Vertical alignment.

bSelText

When passing data to CODTextCompPP, indicates whether the text field is shared amongst components. When receiving data from CODEditCompPP, indicates whether the allow-property-change field has been changed by the user.

bSelMultiLine

When passing data to CODTextCompPP, indicates whether the multi-line flag is shared amongst components. When receiving data from CODEditCompPP, indicates whether the read-only field has been changed by the user.

bSelWordBreak

When passing data to CODTextCompPP, indicates whether the word break flag is shared amongst components. When receiving data from CODEditCompPP, indicates whether the allow-move field has been changed by the user.

bSelHorzAlign

When passing data to CODTextCompPP, indicates whether the horizontal alignment field is shared amongst components. When receiving data from CODEditCompPP, indicates whether the allow-move field has been changed by the user.

bSelVertAlign

When passing data to CODTextCompPP, indicates whether the vertical alignment field is shared amongst components. When receiving data from CODEditCompPP, indicates whether the allow-move field 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).