|
Don Heyse wrote:
>
> No, I figured it out. XP seems to come with a special Hidden System
> desktop.ini file in the font directory with this in it.
>
> [.ShellClassInfo]
> UICLSID={BD84B380-8CA2-1069-AB1D-08000948F534}
>
> It makes the standard Windows open file dialog behave in a way that
> makes selecting the font filename difficult. Instead of filenames
> (*.ttf) you get the font names in the file open dialog and cannot
> select them for opening. But you *can* double click on them
> and let windows show you it's font preview window. Any program using
> the standard windows file open dialog is going to run afoul of
> this annoying behavior.
?? I have WinXP, SP2 and don't see this. But I have set Explorer to not hide
anything and show all extensions. I haven't done anything special to the
Fonts directory (as I remember), and it shows just like any other.
> Yes, that works. I can right click on the font name, select properties
> and cut and paste the font file name into GUITx2d and things work.
I have a nice little Shell extension 'Copy path to Clipboard' that is shown
in the right-click menu. This one works both in Explorer and the Open
dialogs. Let me know if you want a copy (I wrote it myself). I also have
'Run DOS here' which is a fast way to open a console window at the right
place when you're looking at a directory.
> It's just not obvious when you're looking at the list of fonts in the
> file open dialog.
I can understand that!
> > > On 95 I get a small dialog box with the informative message error
> > > message "2", and an OK button.
> >
> > Actually, this is the message ERROR_FILE_NOT_FOUND, so maybe, just
> > maybe, you hadn't configured the path to txt2dat.exe?
>
> I'm pretty sure that was the first thing I thought of, so I went to
> Settings tab and tried both an absolute path and a relative path.
> I think both came up green, but had the problem. I try it again when
> I get a chance though.
I don't suppose you have access to Delphi and could run the program in the
debugger for me? I don't have W95 anymore.
--
Anders Isaksson, Sweden
BlockCAD: http://web.telia.com/~u16122508/proglego.htm
Gallery: http://web.telia.com/~u16122508/gallery/index.htm
|
|
|
In lugnet.cad.dev, Anders Isaksson wrote:
> Don Heyse wrote:
> >
> > No, I figured it out. XP seems to come with a special Hidden System
> > desktop.ini file in the font directory with this in it.
> >
> > [.ShellClassInfo]
> > UICLSID={BD84B380-8CA2-1069-AB1D-08000948F534}
> >
> > It makes the standard Windows open file dialog behave in a way that
> > makes selecting the font filename difficult. Instead of filenames
> > (*.ttf) you get the font names in the file open dialog and cannot
> > select them for opening. But you *can* double click on them
> > and let windows show you it's font preview window. Any program using
> > the standard windows file open dialog is going to run afoul of
> > this annoying behavior.
>
> ?? I have WinXP, SP2 and don't see this. But I have set Explorer to not hide
> anything and show all extensions. I haven't done anything special to the
> Fonts directory (as I remember), and it shows just like any other.
That's odd. I always set explorer that way myself, but I have the
same desktop.ini file and the same behavior in the fonts directory
on both XP and 95.
Apparently you can modify all sorts of folder behavior with these
magic options in desktop.ini files. Search for desktop.ini in google.
Or you can create a desktop.ini file with those two lines, put it in
your windows fonts directory, and you'll see what I mean when you use
a standard file open dialog.
> > > > On 95 I get a small dialog box with the informative message error
> > > > message "2", and an OK button.
> > >
> > > Actually, this is the message ERROR_FILE_NOT_FOUND, so maybe, just
> > > maybe, you hadn't configured the path to txt2dat.exe?
> >
> > I'm pretty sure that was the first thing I thought of, so I went to
> > Settings tab and tried both an absolute path and a relative path.
> > I think both came up green, but had the problem. I try it again when
> > I get a chance though.
I tried it again and it's just like I thought.
> I don't suppose you have access to Delphi and could run the program in the
> debugger for me? I don't have W95 anymore.
No, is Delphi available for free somewhere?
Don
|
|
|