-
webpauk © (23.01.08 14:41) [0]Подскажите как загрузить Font из ресурсаvar
Res: TResourceStream;}
begin
{ Res:=TResourceStream.Create(hInstance, 'MYFONT', Pchar('FONT1'));
Res.SavetoFile(cFontName);
Res.Free;
AddFontResource(PChar(cFontName));
SendMessage(HWND_BROADCAST, WM_FONTCHANGE, 0, 0);
TResourceStream - VCL, а надо WinApi -
clickmaker © (23.01.08 17:33) [1]FindResource / LoadResource