SpiderPig Posted June 29, 2011 Share Posted June 29, 2011 Does any one know how (if its even possible) to extend how many lines the console window can have? Quote Link to comment Share on other sites More sharing options...
Canardia Posted June 29, 2011 Share Posted June 29, 2011 Click on the top-left corner for the System menu, and there you have properties from where you can set the scroll buffer size. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
SpiderPig Posted June 29, 2011 Author Share Posted June 29, 2011 I'm not sure what you mean by the top-left corner..., I'm using C++ 2008.... Quote Link to comment Share on other sites More sharing options...
Canardia Posted June 29, 2011 Share Posted June 29, 2011 It has nothing to do with VS 2008, but it's a general Windows console window things. Every console window has this. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Brent Taylor Posted June 29, 2011 Share Posted June 29, 2011 I'm pretty sure he wants to change it via code. This is actually pretty easy under windows. MSDN Forum link with examples. Quote There are three types of people in this world. People who make things happen. People who watch things happen. People who ask, "What happened?" Let's make things happen. Link to comment Share on other sites More sharing options...
SpiderPig Posted June 30, 2011 Author Share Posted June 30, 2011 I found it in the top-left corner of the console window, thanks. But is there any way to do it globally from a tab or button in the Visual C++ Properties so that any project that compiles with a console will have that large buffer size? @Brent Taylor : Thanks, I was also after code to do this a while back. Quote Link to comment Share on other sites More sharing options...
VeTaL Posted June 30, 2011 Share Posted June 30, 2011 I just used MoveWindow(GetConsoleWindow(), 0, 10, 800, 600, TRUE); This prevent from apperaing console window under main render window. Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.