Thread: Background

  1. #1
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    Question Background

    I think this has been asked before, but I'm specifiying DOS. How do I put an entire background (not textbackground, or whatever it is)?

  2. #2
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    How do you put an entire background what? I do not understand...

  3. #3
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    >>How do I put an entire background (not textbackground, or whatever it is)?<<

    If you have conio.h then textbackground() changes the color of the whole screen/background . Though i dont undertand what you mean by "not textbackground".

    this is how i do.. non std though

    Code:
    #include<conio.h>
    #include<iostream.h>
    int main()
    {
    textbackground(4);
    clrscr();
    cout<<"THE BACKGROUND IS RED BUT TEXT IS NORMAL WHITE";
    getch();
    return 0;
    }

    sorry.. if this doesn't do what you want.
    -

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Load Bitmap as Window Background
    By Epo in forum Windows Programming
    Replies: 6
    Last Post: 07-19-2005, 09:37 AM
  2. Windows background color
    By Exile in forum Windows Programming
    Replies: 2
    Last Post: 01-23-2005, 07:55 AM
  3. Detect Close of a background process
    By Schwarzhelm in forum C Programming
    Replies: 1
    Last Post: 11-05-2003, 01:46 AM
  4. Background Colour in Windows API
    By Vicked in forum Windows Programming
    Replies: 2
    Last Post: 04-14-2003, 03:49 AM
  5. background process switches to stopped
    By bonkey in forum Linux Programming
    Replies: 3
    Last Post: 11-20-2002, 08:27 AM