creating a terminal

This is a discussion on creating a terminal within the Windows Programming forums, part of the Platform Specific Boards category; This shouldn't be to hard, atleast I wouldn't think. I created new project of type Win32 Consol... thing is, I ...

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    71

    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
    Posts
    357
    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, 12:58 PM
  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, 10: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

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