Hi, it seems that WinXP console text displays tabs using 8 spaces instead of four. In a GUI edit control this is changable with an EM_SETTABSTOPS message... but is there any way to change this behavior in a console box? Switching between the console window's font options does nothing to tabs, and SetConsoleMode only changes the way tabs are parsed, not displayed. (DrawText and TabbedTextOut require a hDC for tab manipulation.) Any ideas? Thanks. :)
I think it's fixed - for a number of reasons, namely compatibility.
(Programs that prints tabs can expect them to take 8 spaces, and use that to align columns, etc)
Bummer! Thanks for helping look though. :boohoo:
You could always filter the console streams and replace tabs with the required number of spaces :bdg