SECShortcutBar::SetBarFont

Sets the font for the SECBar object at the specified index

Defined in: olbar.cpp

Syntax

SetBarFont( CFont* pFont, int iIndex )

SetBarFont( HTONF hFont, int iIndex )

Return Value

void

Parameters

pFont

CFont object to use

hFont

HFONT object to use

iIndex

index of the SECBar object

Comments

If iIndex == -1, then the font is applied to all the bars in SECShortcutBar.

Example

SetBarFont

m_wndShortcutBar.SetBarFont( pFont, 0 ); //Set Font for index 0
m_wndShortcutBar.SetBarFont( pFont, -1 ); //Set Font for all the bars