Вниз
Скачать: CL | DM;

Шрифты   Найти похожие ветки 

← →
Ivolg ©   (2004-02-24 17:11) [0]

Как в Combobobx вывести все установленные шрифты?Спасибо!


← →
olookin ©   (2004-02-24 17:13) [1]

function GetFonts(var LogFont: TLogFont; var TextMetric: TTextMetric; FontType: integer; Data: Pointer): integer; stdcall;
begin
// if LogFont.lfPitchAndFamily and $F=FIXED_PITCH then
FontList.Add(LogFont.lfFaceName); Result:=1;
end;

procedure GetFontList(var NewFontList: TStringList);
var DC: HDC;
begin
FontList:=TStringList.Create;
DC:=GetDC(0); EnumFonts(DC,nil,@GetFonts,nil);
NewFontList.Assign(FontList);
end;


← →
hexone ©   (2004-02-24 17:14) [2]

ComboBox1.Items.Assign(Screen.Fonts);


← →
TButton ©   (2004-02-24 17:19) [3]

2hexone
ага



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.01 c
1-12406
Kraj
2004-02-25 16:44
2004.03.05
Как отловить нажатие русских букв


1-12324
Ads
2004-02-22 22:24
2004.03.05
DsgnIntf не найден в Delphi 7


1-12381
Laymer
2004-02-25 08:09
2004.03.05
DirectX


7-12548
galexis
2003-12-17 13:35
2004.03.05
Как получить Globally Unique Identifier (GUID)?


1-12383
Talan
2004-02-25 00:24
2004.03.05
Создание объекта




   Наверх