How to remove Scrollbars from a C# Console App?

This is a discussion on How to remove Scrollbars from a C# Console App? within the C# Programming forums, part of the General Programming Boards category; Hi all I managed to figure out how to force a console app into (well almost) fullscreen however it now ...

  1. #1
    Registered User Gingerage's Avatar
    Join Date
    Sep 2008
    Posts
    1

    Talking How to remove Scrollbars from a C# Console App?

    Hi all
    I managed to figure out how to force a console app into (well almost) fullscreen however it now permanently displays scrollbars. Since I'm making a text (Ascii) based game, I do not require the scrollbars to be there.

    Is there anyway I can remove them?

    Many thanks in advance

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    If you set the console scroll-buffer to the same number of lines as the display size, you won't have scrollbars in the console.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Console window won't clear past app
    By LLINE in forum C++ Programming
    Replies: 4
    Last Post: 03-09-2009, 06:01 AM
  2. Console App w/ Threads and Events?
    By sean in forum C# Programming
    Replies: 1
    Last Post: 07-02-2004, 12:16 AM
  3. Simple GUI for console app (How?)
    By Bill 101 in forum C Programming
    Replies: 3
    Last Post: 11-15-2002, 02:16 PM
  4. Is it possible to get a console up with a win32 app?
    By SilentStrike in forum Windows Programming
    Replies: 2
    Last Post: 12-18-2001, 04:15 PM
  5. Turning a Console APP into Windows.
    By Darkflame in forum C++ Programming
    Replies: 3
    Last Post: 09-14-2001, 03:10 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21