keeping a console programs properties

This is a discussion on keeping a console programs properties within the C++ Programming forums, part of the General Programming Boards category; I've searched the MSDN library and this forum, I'm not that sure how to use the MSDN so i don't ...

  1. #1
    Registered User
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    267

    keeping a console programs properties

    I've searched the MSDN library and this forum, I'm not that sure how to use the MSDN so i don't know if i searched it properly and in the posts on this forum, they say it's not possible to change the font size so is there a way to keep the properties of the program after changing them? Whenever i make a second copy of the program, it resets the properties to default.

  2. #2
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,069
    You can't really do anything to the properties of a console window unless you explicitly create one yourself. The default console window that windows opens has default properties. You can start your program by opening a window with your specified dimensions and what have you. I'm not sure if you can change text size, though.
    Sent from my iPad«

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    267
    unless you explicitly create one yourself
    make what?

  4. #4
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    He means basically using windows API (assuming you are on windows) and making the console window yourself, which wouldn't be fun.

  5. #5
    Mad OnionKnight's Avatar
    Join Date
    Jan 2005
    Location
    Umeň, Sweden
    Posts
    555
    When you change properties it will ask if you want to use these settings for just this session or use them in the future. Go with the latter.

  6. #6
    Registered User
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    267
    when i copy and paste the program somewhere else, it's properties always change back to default

  7. #7
    Registered User
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    267
    how do i make my own console window?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Way to get the current open programs displayed?
    By CPPguy1111 in forum C++ Programming
    Replies: 6
    Last Post: 06-22-2005, 12:24 AM
  2. Will console programs still work in WinXP x64?
    By trenzterra in forum C++ Programming
    Replies: 8
    Last Post: 04-24-2005, 03:46 AM
  3. Linux console window questions
    By GaPe in forum Linux Programming
    Replies: 1
    Last Post: 12-28-2002, 11:18 AM
  4. keeping console window open
    By Unregistered in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2002, 07:15 PM
  5. Keeping same line in a console
    By OxYgEn-22 in forum C++ Programming
    Replies: 1
    Last Post: 04-11-2002, 07:00 AM

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