BCGControlBar Pro for MFC
void CBCGPToolbarFontSizeCombo::SetTwipSize ( int  nSize)

Forces a font size combo to set the specified font size to be the current font size.

This function converts nSize to a text string, searches a font size combo box for the string and selects it, if the string was found. In either case, it sets the text string to the edit control box of a combo and saves the last valid font size.

The last valid font size can be retrieved later by GetTwipsLast().

Parameters
nSizeSpecifies the font size (in twips) to set.