SRGraphTitle::SetMakeFont

void SRGraphTitle::SetMakeFont(BOOL make)

Sets or resets the MakeFont variable
//You should set the MakeFont variable after changing font styles
The font is updated at draw time and it is only changed if the MakeFont semaphore is set.

Defined in: SRGraphTitle.h

Parameters

make

TRUE (default) to set the semaphore, FALSE to reset

Remarks

This method is used because the UpdateFont routine needs to get information directly from the CDC used to draw the font. Therefore the request to change font style is deferred until the m_pDC pointer is known to be valid.

See also...

MakeFont UpdateFont SetFontStyle SetFontSize