18,141
社区成员




S:= 'C:\Users\Administrator\Desktop\新建文件夹\Font\WY.ttf';
If AddFontResource(PWideChar(S))<>0 THen Begin
PostMessage(HWND_BROADCAST, WM_FONTCHANGE, 0, 0);
If WriteProfileString('fonts' ,'Swis721 Ex BT Struct' + '(TrueType)', PWideChar(S)) Then Begin
Sleep(0);
Screen.ResetFonts;
//SHowMessage(IntToStr(Screen.Fonts.Count));
End;
End;
SystemParametersInfo(SPI_SETCURSORS,0,NULL,SPIF_SENDCHANGE);