How to select a FONT file in FILEOPEN Common Dialog
I have a delicate problem that seems to be hard to solve...
I need to get a FILENAME from the FileOpen Common Dialog when selecting a
font from Windows fonts directory e.g. c:\Windows\Fonts\ or c:\WinNT\Fonts.
The FileOpen common dialog refuses to return any filename when selecting
a file/font in this special directory.
Normally when selecting a file in the FileOpen Common Dialog’s File listbox
the filename is copied to the Filename textbox beneath. By use of sub-classing
I have been able to catch notifications related to the selection made in
the listbox. When selecting the Windows Fonts directory and selecting a Font
file (shown by friendly name) all notification stops. The FileOpen common
dialog refuses to return any filename or any useful notification.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center