Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# Console fullscreen and centering

Status
Not open for further replies.

StrangeWill

IS-IT--Management
May 11, 2006
9
0
0
US
So I want to be able to center a console application and set it to full screen.

So far I can adjust the buffers to change the size, but it starts so off center position much of the program is off the screen.

Any ideas?

C# .NET 2.0
 
There are some .NET shareware libraries out there that let you manipulate console windows (fonts, colors, cursors, and probably sizing). You can check this here...
Console Enhancements

Also you can try this too...
SendKeys.SendWait


Sharing the best from my side...

--Prashant--
 
Those libraries are for .NET 1.1, which .NET 2.0 already has features for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top