Solved

Win32::Console control font and font size

Posted on 2003-11-18
3
668 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
3 Comments
 
LVL 18

Accepted Solution

by:
kandura earned 500 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using Perl DBI to query oracle 3 41
PERL - Find newest folder 12 133
Perl modules on linux ec2 3 104
Control Number of Log Files -Perl 7 71
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

785 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