Thread: creating a terminal

  1. #1
    Registered User
    Join Date
    Feb 2006

    creating a terminal

    This shouldn't be to hard, atleast I wouldn't think. I created new project of type Win32 Consol... thing is, I can't do anything that I wanted to do to make it look nice. Such as GetStockObject(DEFAULT_GUI_FONT) to set the font ....

  2. #2
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    The console runs in a different subsystem than a graphical windows app.
    Also, it's not possible to change the consoles font, it's a user setting. Remember that GetStockObject and similar functions are all for graphical windows (literally windows), you fetch the information and then update whatever window with a message.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Clearing Terminal
    By mrginger in forum C Programming
    Replies: 3
    Last Post: 04-15-2009, 11:58 AM
  2. Console, Terminal and Terminal Emulator
    By lehe in forum C Programming
    Replies: 4
    Last Post: 02-15-2009, 09:59 PM
  3. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  4. Creating terminal windows and executing . . .
    By LinuxPLC in forum Game Programming
    Replies: 1
    Last Post: 02-19-2003, 01:18 PM
  5. Controlling terminal tty
    By pdstatha in forum C Programming
    Replies: 0
    Last Post: 04-02-2002, 03:57 AM