Size of letters in text mode

Started by
2 comments, last by googlyeyes 21 years, 5 months ago
the default size for a textbox is 25 by 80 right. so how do I change that to 50 by 80???
Advertisement
DOS application or Windows Console Program?

For Windows look up SetConsoleScreenBufferSize and SetConsoleWindowInfo on msdn.microsoft.com.

For DOS you''ll need some assembly (unless your compiler has a special command). I think I posted some example code in the Fish contest thread for that.
By "Text Box" I assume you mean "Console Window."

Yes, the default size is 25 rows and 80 columns. You can use the windows function:

SetConsoleWindowInfo

To change that to whatever you want. You can find information on how to use the function, as well as many other console functions at:

http://msdn.microsoft.com/library/en-us/dllproc/base/console_functions.asp?frame=true

[edited by - Matt Calabrese on November 21, 2002 8:03:53 PM]
Ok thanks.

This topic is closed to new replies.

Advertisement