Share via


CMFCToolBarFontSizeComboBox::SetTwipSize

Rounds the specified size (in twips) to the nearest size in points, and then sets the selected size in the combo box to that value.

void SetTwipSize(
   int nSize 
);

Parameters

  • [in] nSize
    Specifies the font size (in twips) to set.

Remarks

You can retrieve the previous valid font size later by calling the CMFCToolBarFontSizeComboBox::GetTwipSize method.

Requirements

Header: afxtoolbarfontcombobox.h

See Also

Reference

CMFCToolBarFontSizeComboBox Class

Hierarchy Chart