| View previous topic :: View next topic |
| Author |
Message |
Cx Master Cheater
Reputation: 0
Joined: 27 Jul 2007 Posts: 367
|
Posted: Sat Aug 11, 2007 12:59 pm Post subject: [C++] Background images? |
|
|
What's the easiest way to give an app a background image in C++ (like from a resource or something)? _________________
armed with this small butterfly net
i will face the world alone
& never be lonely. |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sat Aug 11, 2007 1:24 pm Post subject: |
|
|
| LoadImage, Bitblt |
|
| Back to top |
|
 |
suprat Cheater
Reputation: 0
Joined: 14 Jul 2007 Posts: 40
|
Posted: Sat Aug 11, 2007 3:09 pm Post subject: U can add a color |
|
|
u can add a color Like, black background, and green numbers (thats the Color num 2)
i dont think u can add a image coz it is a dos, a safe mode capitality.
the code for the green words and black background :
#include <iostream>
using namespace std;
int main()
{
system("title Something"); ///<<< u can put a title for the program
system("color 2"); /// u can choose colors from 1 to 20, try 12
cout << "Hello World! " << endl;
system("pause");
return 0;
} |
|
| Back to top |
|
 |
Cx Master Cheater
Reputation: 0
Joined: 27 Jul 2007 Posts: 367
|
Posted: Sat Aug 11, 2007 9:08 pm Post subject: |
|
|
I'm using an app, not a console app/dos. _________________
armed with this small butterfly net
i will face the world alone
& never be lonely. |
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Sun Aug 12, 2007 4:05 am Post subject: |
|
|
| Do what appal said |
|
| Back to top |
|
 |
|