[lazarus] Forms BorderStyle and Default Font of Canvas (win32)

Karl Brandt pascalive at bol.com.br
Wed Aug 27 20:04:06 EDT 2003


Mattias Gaertner wrote:

>>It also make GetStockObject returns DEFAULT_GUI_FONT when asked for 
>>SYSTEM_FONT with a small hack, although i think that the best way is to 
>>change LCL (at Tcanvas and TPromptDialog) to uses DEFAULT_GUI_FONT 
>>instead of SYSTEM_FONT which is more intuitive/logical.
> 
> 
> What is the difference between them?
> 

SYSTEM_FONT is the font used at win3.1 times(I think).
DEFAULT_GUI_FONT is the default font for most of win32 applications, 
including the delphi ones.

Futhermore SYSTEM_FONT is a ugly one and DEFAULT_GUI_FONT is a nice one :-;

karl






More information about the Lazarus mailing list