hello at all,
is it simply possible to get just ONE bold line
in the AboutDlg without going crazy???????
i did sth like this (see below) but it doesn't work
of course...
thank you for answering!!
cheers
hilmar
CODE EXAMPLE
==================================================
.
.
private:
CFont boldLine;
CString boldLineText;
};
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
//{{AFX_DATA_INIT(CAboutDlg)
//}}AFX_DATA_INIT
}
BOOL CAboutDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Zusätzliche Initialisierung hier einfügen
boldLineText = "Programming and Support";
boldLine.CreateFont(0, 0, 0, 0, FW_BOLD, 0, 0, 0,
DEFAULT_CHARSET, OUT_CHARACTER_PRECIS,
CLIP_CHARACTER_PRECIS, DEFAULT_QUALITY,
DEFAULT_PITCH | FF_DONTCARE, boldLineText);
ctrlDisplayBoldLine.SetFont(&boldLine);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX-Eigenschaftenseiten sollten FALSE zurückgeben
}
==============================================
end
is it simply possible to get just ONE bold line
in the AboutDlg without going crazy???????
i did sth like this (see below) but it doesn't work
of course...
thank you for answering!!
cheers
hilmar
CODE EXAMPLE
==================================================
.
.
private:
CFont boldLine;
CString boldLineText;
};
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
//{{AFX_DATA_INIT(CAboutDlg)
//}}AFX_DATA_INIT
}
BOOL CAboutDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Zusätzliche Initialisierung hier einfügen
boldLineText = "Programming and Support";
boldLine.CreateFont(0, 0, 0, 0, FW_BOLD, 0, 0, 0,
DEFAULT_CHARSET, OUT_CHARACTER_PRECIS,
CLIP_CHARACTER_PRECIS, DEFAULT_QUALITY,
DEFAULT_PITCH | FF_DONTCARE, boldLineText);
ctrlDisplayBoldLine.SetFont(&boldLine);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX-Eigenschaftenseiten sollten FALSE zurückgeben
}
==============================================
end