Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
c++ - 98 console character size
Hi, I hope this is not to off topic as it is not dmc related...but My win98 console defaults to auto for the character size. When I change screen sizes in a program, 'auto' changes character sizes which can be rather annoying. Rather than having to ask the user to manually set the character size I would like to have the program size it. I see the functions GetCurrentConsoleFont, etc and the structure CONSOLE_FONT_INFO for xp/vista but nothing for 98. Is there a way to do this? Where would I look in the long list at msdn2? I have been looking in this branch: http://msdn2.microsoft.com/en-us/library/ms682010.aspx Thanks, ++Howard; Apr 17 2007
I found a partial solution to this problem. In Windows 98, when I run one of my C programs from the Start > Run my program runs on a console. (duh) A right-click on that top bar and then Properties reveals that the command line for that console is: C:\WINDOWS\SYSTEM\CONAGENT.EXE. Using the file manager I went to the file and right-clicked to examine properties and the same type of console Properties window opened where I was able to set the default text size. Now when I run from Start > Run, my changes are in effect. I would still like to be able to change from my program !!!, but this beats having to do it manually on each run... ++Howard; Apr 25 2007
|