Hi people,

Im currently working on a project that requires me to change the font. Im using
Code:
SelectObject(hdc, GetStockObject(ANSI_FIXED_FONT));
to do this and it works great.

The msdn states the following:
"This function returns the previously selected object of the specified type. An application should always replace a new object with the original, default object after it has finished drawing with the new object."

I do not understand why it is neccary to replace the object with the original, whats not helping is that some examples i look at do replace the original back and others dont.

Could someone help me with this?
Thanks very much!!