Thread: How can you extract what text is onscreen???

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    1

    How can you extract what text is onscreen???

    I actually have a few problems..

    I use C++, bloodshed (www.bloodshed.net), free stuff.

    I used to use Borland turbo C, but it is so outdated now.

    1)
    I would like to know how to (when your program runs) make the screen maximise instead of just going to a window???

    2) I need to know how to specify the text screen resolution. for example, I want to set it to 80x25 but when I run my program it defaults to some other font style and size etc.

    3) I want to input x/y coordinates and get information about what is onscreen at that point. ie char, textcolour, background colour etc.

    anyone know??

  2. #2
    Registered Luser
    Join Date
    Apr 2003
    Posts
    17
    look up the AllocConsole and related APIs for win32 (check at http://msdn.microsoft.com)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Having trouble drawing text xlib.
    By Qui in forum Linux Programming
    Replies: 1
    Last Post: 05-10-2006, 12:07 PM
  2. Appending text to an edit control
    By dit6a9 in forum Windows Programming
    Replies: 3
    Last Post: 08-13-2004, 09:52 PM
  3. Text positioning and Text scrolling
    By RealityFusion in forum C++ Programming
    Replies: 3
    Last Post: 08-13-2004, 12:35 AM
  4. Scrolling The Text
    By GaPe in forum C Programming
    Replies: 3
    Last Post: 07-14-2002, 04:33 PM
  5. Replies: 1
    Last Post: 07-13-2002, 05:45 PM