How can i change a Console Size

  • Thread starter Thread starter Gerald Maher
  • Start date Start date
G

Gerald Maher

Hi

I have a Console project and want to make sure the with of the Console
is 80 characters long, if not i have to set it to 80 characters

Any suggestions ?
 
You'll need to P/Invoke to SetConsoleScreenBufferSize and/or
SetConsoleWindowInfo. See the Platform SDK documentation for full
information on these methods.
-mike
MVP
 
Back
Top