SetConsoleFontEx()?

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?
No one knows? I've got the first two down...
Last edited on
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?
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
Topic archived. No new replies allowed.