Board index » cppbuilder » Default Font i Dialogues

Default Font i Dialogues


2007-05-18 01:28:38 AM
cppbuilder14
Hi,
I am using Borland C++ 5.
The font used for text in the dialogues is by default MS San Serif 8
I know how to change font for a specific control but it is a lot of work to
do it for all of them.
I like to change the default font.
Does anyone out there know how to do that?
/Ivar
 
 

Re:Default Font i Dialogues

Ivar Suneson wrote:
Quote
Hi,

I am using Borland C++ 5.
The font used for text in the dialogues is by default MS San Serif 8
I know how to change font for a specific control but it is a lot of work to
do it for all of them.
I like to change the default font.
Does anyone out there know how to do that?

/Ivar



Hello,
you can put a FONT statement in the .rc file, like this:
IDD_MAINPAGE DIALOG 713, 626, 249, 142
STYLE DS_3DLOOK | DS_CONTEXTHELP | WS_CHILD | WS_VISIBLE
FONT 8, "MS Shell Dlg"
{
CONTROL "&Program:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 8,
9, 28, 8
...