J
Johan
Hi
How would I go about installing a font file on WinXP?
I have tried this and it won't get installed properly,
private void installFont()
{
File.Copy( Application.StartupPath+"\\Lucon1.ttf",
this.fontDir+"\\Lucon1.ttf", true );
key.SetValue( "Lucida Console ANSI
TrueType)", "Lucon1.ttf");
SendMessage((System.IntPtr)HWND_BROADCAST,
WM_FONTCHANGE, 0, 0);
}
How would I go about installing a font file on WinXP?
I have tried this and it won't get installed properly,
private void installFont()
{
File.Copy( Application.StartupPath+"\\Lucon1.ttf",
this.fontDir+"\\Lucon1.ttf", true );
key.SetValue( "Lucida Console ANSI
TrueType)", "Lucon1.ttf");
SendMessage((System.IntPtr)HWND_BROADCAST,
WM_FONTCHANGE, 0, 0);
}