GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 18-Apr-2007, 11:47
Howard_L Howard_L is offline
Regular Member
 
Join Date: Apr 2007
Location: Maryland/PA, USA
Posts: 846
Howard_L is a jewel in the roughHoward_L is a jewel in the roughHoward_L is a jewel in the rough

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  
Old 25-Apr-2007, 14:25
Howard_L Howard_L is offline
Regular Member
 
Join Date: Apr 2007
Location: Maryland/PA, USA
Posts: 846
Howard_L is a jewel in the roughHoward_L is a jewel in the roughHoward_L is a jewel in the rough

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 GIDBlogProblems with the Navy (Officers) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 06:10.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.