Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   GUI Progress Bar (http://www.programmingforums.org/showthread.php?t=6467)

badbasser98 Oct 17th, 2005 8:25 PM

GUI Progress Bar
 
Looking for information on how to create a Progress Bar in a Win32 App. Have been googling for 2 days now and from what I can tell, a vast majority of the info I have found is for use with Visual C++.. :-/ Actually about 90% of the info from any search I have done is. Almost making think about getting a visual compiler.

I want it to be toward the middle of the window preferably, not in a status bar at the bottom. Are there any resources that yout guys have come across that could be usefull? I am converting a console program that I created to a GUI. I thought it would be nice to give the end user a graphical assurance that the program is infact working. My program goes into a directory and deletes place holder files that can get left behind if the program crashes, if the server crashes, etc. There are five files, and would like to create a stepping progress bar that steps after each file is deleted.

Thanks,
-BB98

stevengs Oct 18th, 2005 2:29 AM

Just as a side note, isn't there a patent on the idea of a 'progress bar'?

badbasser98 Oct 18th, 2005 2:10 PM

Quote:

Originally Posted by stevengs
Just as a side note, isn't there a patent on the idea of a 'progress bar'?

:confused:

Would seem kinda silly to me. Every installation I have ever run had a progress bar to show how far along the install is. Would highly doubt that one company/person is getting royalties everytime a program is made with a progress bar. Guess anything is possible...;)

I think I am going to break down and buy MS Visual C++ .NET, plus I know there is direct support within that program for a progress bar.

Am still up for info on how to create/impliment a progress bar without using a visual compiler.

Thanks,
-BB98

tempest Oct 18th, 2005 2:20 PM

Dev-C++ and GTK+.

http://www.gtk.org/tutorial1.2/gtk_tut-9.html#ss9.4

stevengs Oct 18th, 2005 2:26 PM

Quote:

Originally Posted by badbasser98
Would seem kinda silly to me. Every installation I have ever run had a progress bar to show how far along the install is. Would highly doubt that one company/person is getting royalties everytime a program is made with a progress bar. Guess anything is possible...;)

EXACTLY!

Richard Stallman:

Article

Quote:

You might think that these ideas are so simple that no patent office would have issued them. We programmers are often amazed by the simplicity of the ideas that real software patents cover--for instance, the European Patent Office has issued a patent on the progress bar, and a patent on accepting payment via credit cards. These patents would be laughable if they were not so dangerous.

ivan Oct 18th, 2005 2:27 PM

or you can use win32 but it's a bit hard and it sucks :D

badbasser98 Oct 18th, 2005 2:45 PM

Thanks tempest. Looks good.

Quote:

You might think that these ideas are so simple that no patent office would have issued them. We programmers are often amazed by the simplicity of the ideas that real software patents cover--for instance, the European Patent Office has issued a patent on the progress bar, and a patent on accepting payment via credit cards. These patents would be laughable if they were not so dangerous.
:eek:

wow... Does that count even if the program is for private use and is not going to be a publicly used, published program?

Thanks,
-BB98

stevengs Oct 18th, 2005 2:51 PM

Well, if you don't live in Europe, it won't affect you anyways (until you export your products). Secondly, I do not believe that the owner ever filed any suits, so it may have been overturned or revoked or whatever. I haven't heard anything about since that article.

badbasser98 Oct 18th, 2005 3:00 PM

whew... No, I do not live in Europe. Thanks for the info stevengs. Had me scared for a minute or two.:)

-BB98

ivan Oct 18th, 2005 3:04 PM

I even read the some companies tried to issue the serial number mechanism as their patent... What wrong with that people???


All times are GMT -5. The time now is 4:14 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC