SetConsoleFontEx()?

Apr 23, 2013 at 3:04pm
Can someone please give me an example of SetConsoleFontEx() please? I've got the first two parameters down (GetStdHandle(STD_OUTPUT_HANDLE) & false), but can't figure out the third. Help?
Apr 24, 2013 at 12:02pm
No one knows? I've got the first two down...
Apr 24, 2013 at 12:11pm
Last edited on Apr 24, 2013 at 12:11pm
Apr 24, 2013 at 1:54pm
Yes, I did. How exactly do I change the font to a different one using the CONSOLE_FONT_INFOEX struct? Do I have to change it manually?
Apr 24, 2013 at 2:00pm
I've not used this function myself. But presumably you need to define a CONSOLE_FONT_INFOEX structure in your program, assign appropriate values to each field, and then call the function SetCurrentConsoleFontEx().

You might also use the function GetCurrentConsoleFontEx
to populate the structure with the current values.

http://msdn.microsoft.com/en-gb/library/windows/desktop/ms683177%28v=vs.85%29.aspx
Last edited on Apr 24, 2013 at 2:03pm
Topic archived. No new replies allowed.