Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Win32::Console control font and font size

Posted on 2003-11-18
3
Medium Priority
?
687 Views
Last Modified: 2013-12-03
How can I control the font and font size used in the console window using Win32::Console?
0
Comment
Question by:JCinDE
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Accepted Solution

by:
kandura earned 2000 total points
ID: 9774723
See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/console_functions.asp
for the full documentation of Microsoft's console API.

It seems you can get the font and size with the GetCurrentConsoleFont and GetConsoleFontSize API calls, but I don't see
the equivalent functions for Set. My guess is you won't be able to set them in general, and since I don't see anything
related to fonts in the Win32::Console docs either, it's even more likely that it's not possible.

I suggest you dig around the api's on the msdn site, but I don't expect Win32::Console to be the place where you can
control font settings.
0
 
LVL 11

Expert Comment

by:turn123
ID: 10041605
0
 
LVL 5

Author Comment

by:JCinDE
ID: 10062176
I've searched and still found nothing that seems to work so it appears Kandura is right...there just isn't a way to do it.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question