graphics

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2008
Posts: 9
Reputation: justinclev is an unknown quantity at this point 
Solved Threads: 0
justinclev justinclev is offline Offline
Newbie Poster

graphics

 
0
  #1
Jul 13th, 2008
im sorry to bother you but i wanted to know

BUT I AM USEING DEV C++

I WANT TO SEE HOW TO ADD A BACKGROUND TO A PROGRAM IS THERE ANY WAY YOU COULD HELP ME

THANK YOU
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,953
Reputation: Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of 
Solved Threads: 214
Featured Poster
Duoas's Avatar
Duoas Duoas is offline Offline
Posting Virtuoso

Re: graphics

 
0
  #2
Jul 13th, 2008
Please don't shout.

Adding a background depends on the toolkit you are using.

If you are using straight Win32 API, you'll need to process the WM_PAINT message sent to the form and draw the bitmap before you let any other controls draw.

If you are using a toolkit, please tell us which one you are using.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 401
Reputation: CoolGamer48 is on a distinguished road 
Solved Threads: 40
CoolGamer48's Avatar
CoolGamer48 CoolGamer48 is offline Offline
Posting Pro in Training

Re: graphics

 
0
  #3
Jul 13th, 2008
What type of program are you dealing with? A window? A console window?

Most likely, the answer will lie somewhere in either the Direct3D (Microsoft), or OpenGL (open source) APIs. Look them up.
I'm a student. If my statements seem too absolute, feel free to coat them with "In my opinion..." or "I believe...".
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 9
Reputation: justinclev is an unknown quantity at this point 
Solved Threads: 0
justinclev justinclev is offline Offline
Newbie Poster

Re: graphics

 
0
  #4
Jul 13th, 2008
well i m still a bit of a beginer my programs a secruity one it will run and youll have to enter a password then it will allow you to go on if you enter it right otherwise it shutsdown the computer
but it runs off the command prompt
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 401
Reputation: CoolGamer48 is on a distinguished road 
Solved Threads: 40
CoolGamer48's Avatar
CoolGamer48 CoolGamer48 is offline Offline
Posting Pro in Training

Re: graphics

 
0
  #5
Jul 13th, 2008
If you're running a command prompt, there really isn't a way (to my knowledge) of setting a background.
I'm a student. If my statements seem too absolute, feel free to coat them with "In my opinion..." or "I believe...".
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 9
Reputation: justinclev is an unknown quantity at this point 
Solved Threads: 0
justinclev justinclev is offline Offline
Newbie Poster

Re: graphics

 
0
  #6
Jul 13th, 2008
well how do i get out of command prompt then it help my program to know that sense the totorail im using sucks
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 401
Reputation: CoolGamer48 is on a distinguished road 
Solved Threads: 40
CoolGamer48's Avatar
CoolGamer48 CoolGamer48 is offline Offline
Posting Pro in Training

Re: graphics

 
1
  #7
Jul 14th, 2008
Depending on how much of a beginner you are, you may want to stick with console apps for a while and get a handle around pointers, classes, inheritance, and polymorphism to some degree. But, you don't necessarily have to.

If you're on Windows, this is a very good place to begin. As Duoas said, there's a way to do a background with just the Windows API, though if you want to go into more graphical applications, you can try to delve on in to Direct3D.
I'm a student. If my statements seem too absolute, feel free to coat them with "In my opinion..." or "I believe...".
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum


Views: 579 | Replies: 6
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC