I'm working on a 'Paint' project in MFC and I'm trying to save the colours of every figure.
I save the point of the objects like this:
ar << p1;
Serialize(CArchive& ar) function
and it works.
so I tried saving the colours the same way:
ar << bkColour;
and it doesn't work. (upon saving and loading the figures are restored just without colours.