CStatic m_CaptionCtrl;
CFont m_Font;
void CHardwarePage::DoDataExchange(CDataExchange* pDX)
{
CNewWizPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CHardwarePage)
DDX_Control(pDX, ST_CAPTION, m_CaptionCtrl);
//}}AFX_DATA_MAP
}
BOOL CHardwarePage::OnInitDialog()
{
CNewWizPage::OnInitDialog();
// TODO: Add extra initialization here
// {
m_Font.CreateFont(-16, 0, 0, 0,
FW_BOLD, FALSE, FALSE, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS,
CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH, _T("MS Sans Serif"));
m_CaptionCtrl.SetFont(&m_Font, TRUE);
// }
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}