I'm using borland c++ compiler, using windows xp professional.
I'm trying to change text sizes... But umm... I have no idea how, or if its possible. Anyone have any idea?
Printable View
I'm using borland c++ compiler, using windows xp professional.
I'm trying to change text sizes... But umm... I have no idea how, or if its possible. Anyone have any idea?
Is this a console or GUI project?
Console project.
Depends, are you running Vista? :p
Ah ha! No! :)
Well console windows DO have font properties. All i can say is maybe look at GetCurrentConsoleFontEx and SetCurrentConsoleFontEx on MSDN.
edit:
Also look at CONSOLE_FONT_INFOEX. It has a COORD dwFontSize with X as width and Y as height (in pixels i think). There is also other things like UINT FontWeight which can be used to make the font bold.
Not sure if any of this works as all i did was look in http://msdn.microsoft.com/library/de..._functions.asp
edit:
after looking at the MSDN entries, they seem to be new additions for Vista. Looks like everyone needs to go buy Vista so we can make console apps with custom fonts ;P
I know that, but SetCurrentConsoleFontEx requires Windows Vista, as does CONSOLE_FONT_INFOEX thought not CONSOLE_FONT_INFO. Getting the font does you no good.