![]() |
| ||
| graphics 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 |
| ||
| Re: graphics 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. |
| ||
| Re: graphics 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. |
| ||
| Re: graphics 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 |
| ||
| Re: graphics If you're running a command prompt, there really isn't a way (to my knowledge) of setting a background. |
| ||
| Re: graphics well how do i get out of command prompt then it help my program to know that sense the totorail im using sucks |
| ||
| Re: graphics 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. |
| All times are GMT -4. The time now is 10:15 pm. |
Forum system based on vBulletin Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©2003 - 2010 DaniWeb® LLC