BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Not available BCGSuite (MFC)
Not available BCGControlBar (Microsoft .NET)

Font picker

BCGControlBar Library provides a simple but powerful Font Picker control, which is a combo box, displaying a drop list of fonts from your system. You can easily define appropriate font at startup and retrieve user selections.

Sample code:
CBCGPFontComboBox m_wndFont;
// Select a font:
m_wndFont.SelectFont (_T("Arial"));
// Get selected font:
CBCGPFontDesc* pFontDesrc = m_wndFont.GetSelFont ();
CString strFont = pFontDesrc->m_strName;
Prev  Next