Patrick v/d Wal
May 27th, 1999, 11:53 AM
I've created a tab control run-time and in the OnCreate event I insert a few tabs. However, I want the text of the tab-headers to appear in a different font.
I've tried this:
CFont sansSerif;
sansSerif.CreateFont( -8, 0, 0, 0, 700, 0, 0,
0, 1, 0, 0, 0, 0, _T("MS Sans Serif"));
SetFont(&sansSerif, TRUE);
...but, the font doesn't change a bit (it only seems to affect the size of the tab headers not the text itself)
What is the problem??
Any help would be appreciated.
Patrick.
I've tried this:
CFont sansSerif;
sansSerif.CreateFont( -8, 0, 0, 0, 700, 0, 0,
0, 1, 0, 0, 0, 0, _T("MS Sans Serif"));
SetFont(&sansSerif, TRUE);
...but, the font doesn't change a bit (it only seems to affect the size of the tab headers not the text itself)
What is the problem??
Any help would be appreciated.
Patrick.