<< Return to Main Index

< Return to Class Index

CGXStyle::operator=

virtual const CGXStyle& operator=(const CGXStyle& p);

virtual const CGXStyle& operator=(LPCTSTR s);

p

Reference to the source style object.

s

String with the value to be initialized.

Return Value

Reference to this.

Remarks

The first version of the assignment-operator copies another base style using ChangeStyle(p, gxCopy).

The second version initializes the value with SetValue(s).

See Also

CGXStyle::ChangeStyle

CGXStyle

Class Overview | Class Members