![]() |
|
#1
|
|||
|
|||
Change 98 console character size in program?Hi,
I have been learning to program for my windows 98 console using the windows.h library. My default console comes up with text set to auto (size). I have gone into screen resizing etc. and 'auto' resizes the text tiny as screen gets smaller but when the screen gets larger the text size stays tiny. Very annoying... So , I must manually select a font size each time I run and as many times as it takes me to get stuff right, that has gotten annoying .... So, I have been looking for a way set the character size in the program. In the vast msdn2 library starting at: "http://msdn2.microsoft.com/en-us/library/ms682010.aspx" Way down in: -DLLs, Processes, and Threads ---Character-Mode Applications -----About Character-Mode Applications . . . . . . . -----Console Reference I see functions and structure for this in XP and Vista but not for <= me/2000. Is there a way to do this in C? I'm starting to give up on it.... Thanks, ++Howard; |
|||
|
#2
|
|||
|
|||
Re: Change 98 console character size in program?Well I found something to be done:
In 98, start>run > run my program > in the ms-dos window : right click on top bar > click properties > whoop-dare-it-ias: C:\WINDOWS\SYSTEM\CONAGENT.EXE Ha!, so in file mangler goto conagent.exe , right click , select properties , and on THAT same type of properties window, change the font or whatever. Important: CLICK ON THE BUTTON THAT SAYS 'OK'...... Now get outta there! Now when I run from the start > run, my NEW setting is the default opening mode. (at least font size, which is what I was interested in) But that doesn't answer how I could change it from my program.... Oh well, it's something. Hope that helps, Thanks, I was really tired of doing that manually for the zillionth time... Don't mention it... ++Howard; |
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help with a console menu system | BullBuchanan | C++ Forum | 6 | 20-Aug-2006 14:46 |
| Need Help With Recursive Functions | jonas12rena | C Programming Language | 1 | 31-Jul-2006 11:12 |
| String pad. | pjpav | Java Forum | 6 | 13-Nov-2005 12:10 |
| Bloodshed Dev C++ Project Options | JdS | C++ Forum | 6 | 11-Nov-2005 17:23 |
| Having a problem | Chuckles | Computer Hardware Forum | 19 | 13-Sep-2004 12:17 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The