RE: Full screen in Ed
- Posted by Ed Davis <ed_davis2 at yahoo.com> Jan 08, 2004
- 353 views
Tommy Carlier wrote: > Ed is a text-based, console application and can only show 80 > characters per line. While this may be true about Ed currently, it is not true about Win32 Console applications in general. Win32 Console applications can change the number of displayed rows and columns. In the Win32 API, See: SetConsoleScreenBufferSize and SetConsoleWindowInfo As long as an appropriate font is selected (unfortunately, there is no documented API to change the font of a Console window), you can display however many rows and columns you want. If the rows or columns exceed the size of the display, Windows will put scrollbars on the Console window - depending on the type of application, not always what you would want.