| | |
Set font size in C program
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Mar 2008
Posts: 1,465
Reputation:
Solved Threads: 121
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,465
Reputation:
Solved Threads: 121
>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 |
adobe ansi api array arrays asterisks binarysearch calculate centimeter char convert copyanyfile copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax directory dynamic fflush file fork forloop frequency getlasterror givemetehcodez graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators infiniteloop initialization interest kernel km linked linkedlist linux linuxsegmentationfault list lists locate logical_drives match matrix microsoft motherboard multi mysql number open opendocumentformat opensource owf pattern pdf performance pointer pointers posix power probleminc program programming pyramidusingturboccodes radix read recursion recv repetition research scanf scheduling scripting segmentationfault send sequential shape socketprograming stack standard string strings structures systemcall testautomation turboc unix user variable voidmain() wab win32api windows.h






