Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Jul : Setting spawned MSDOS Font=Lucida Console and Font Size ini program
| Subject: | Setting spawned MSDOS Font=Lucida Console and Font Size ini program |
| Posted by: | "Joe H" (joedot..@att.net) |
| Date: | 2 Jul 2007 07:54:37 |
I still have to support and maintain some MSDOS programs until I get
them all rewritten in windows and the windows programs have to spawn
msdos progs when needed until all are done. Spawning the programs is no
problem. Unfortunately I have not been able to find where MS stores the
right-click property options for an MSDOS program so that they could be
set programmatically. I spent two full days a while ago trying to find
anything in the registry that might be related. (Come to think of it, I
didn't think to make a copy of the registry, then set up a new pif,
then compare the copy to the saved version in the hopes of finding the
location of the change. If no one knows this answer, I'll try that
next.)
I'm certain they are NOT stored in the PIF file, since I can make a pif
with those settings and it does not honor those settings on another
machine and I've not figured out any pif settings that accomplish the
same thing--most important: run in a window, use Lucida console font
and use a size that fills but does not exceed the width of the physical
screen. I have the internal format of a pif file and have used it to
make the pif files programmatically.
I realize it is not a huge problem to have customers make these changes
manually, but it sure would be nice to automate it.
--