Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Realbasic > Re: Copying Fon...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 3295 of 3326
Post > Topic >>

Re: Copying Fonts to Fonts Folder

by Aaron Ballman <aaron@[EMAIL PROTECTED] > Jan 15, 2008 at 08:05 AM

> Is there a trick in the Windows system to activate the font without
having
> to do a restart?

The WFS has free functionality to install fonts without a reboot as
well.  But the basic idea is that you just need to make a single Win32
API call to alert the system that there are some new fonts available
after your copy.  Just call SendMessage with a WM_FONTCHANGE message,
like this: SendMessage( HWND_BROADCAST, WM_FONTCHANGE, 0, 0 ) and that
should be all you'll need to alert any running Win32 app about the
changes.

Note: you may or may not need to call the AddFontResource Win32 API to
get the changes to flush into the registry.  I don't recall if
programatic copying into the fonts folder does that for you or not.

~Aaron
 




 6 Posts in Topic:
Copying Fonts to Fonts Folder
"fontoholic" &l  2008-01-11 10:40:22 
Re: Copying Fonts to Fonts Folder
Jean-Yves <no_pub_for_  2008-01-11 11:51:57 
Re: Copying Fonts to Fonts Folder
support@[EMAIL PROTECTED]  2008-01-11 15:01:50 
Re: Copying Fonts to Fonts Folder
"fontoholic" &l  2008-01-14 10:17:21 
Re: Copying Fonts to Fonts Folder
support@[EMAIL PROTECTED]  2008-01-14 12:25:47 
Re: Copying Fonts to Fonts Folder
Aaron Ballman <aaron@[  2008-01-15 08:05:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 20:35:15 CDT 2008.