| | |
Set font size in C program
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Mar 2008
Posts: 1,433
Reputation:
Solved Threads: 118
Depends, if you mean using the Win32 API, then it's easily possible. AFAIK it's not possible to set the font size on the console through just using C++ code.
I need pageviews! most fun profile ever :)
•
•
Join Date: Mar 2008
Posts: 1,433
Reputation:
Solved Threads: 118
>Use some graphics library.
There's not much point in recommending that, we first need to know some details before simply telling him to use a graphics library. If he's using the Win32 API, he can simply use CreateFont and use the returned object with the window HDC.
If he plans on doing this with a console window, then there's problems.
There's not much point in recommending that, we first need to know some details before simply telling him to use a graphics library. If he's using the Win32 API, he can simply use CreateFont and use the returned object with the window HDC.
If he plans on doing this with a console window, then there's problems.
I need pageviews! most fun profile ever :)
![]() |
Similar Threads
- Issue with font size and displaying area (Pascal and Delphi)
- Font size problem (C)
- Override browser set font size in IE (HTML and CSS)
- reset default font size (Windows NT / 2000 / XP)
- New font size (DaniWeb Community Feedback)
- Font Size is too Small (Windows NT / 2000 / XP)
- Font Size Problem (PHP)
- Change Font Size (ASP)
Other Threads in the C Forum
- Previous Thread: hex string to decimal
- Next Thread: basic questions, pointers and structs
| Thread Tools | Search this Thread |
* ansi append array arrays bash binarysearch calculate centimeter changingto char character convert copyanyfile copyimagefile copypdffile creafecopyofanytypeoffileinc createprocess() database dynamic execv fflush fgets file floatingpointvalidation fork forloop function getlogicaldrivestrin givemetehcodez grade gtkwinlinux histogram homework i/o ide inches include infiniteloop initialization input interest intmain() iso keyboard km license linked linkedlist linux list looping lowest matrix microsoft multi mysql oddnumber open opendocumentformat openwebfoundation overwrite pdf pointer pointers posix power program programming pyramidusingturboccodes radix read recursion recv recvblocked reversing scheduling segmentationfault send sequential single socket socketprogramming stack standard strchr string suggestions test testautomation testing threads turboc unix urboc user variable whythiscodecausesegmentationfault win32api windowsapi






