Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 17th, 2005, 8:25 PM   #1
badbasser98
Hobbyist Programmer
 
Join Date: Mar 2005
Location: United States
Posts: 124
Rep Power: 4 badbasser98 is on a distinguished road
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
badbasser98 is offline   Reply With Quote
Old Oct 18th, 2005, 2:29 AM   #2
stevengs
Professional Programmer
 
stevengs's Avatar
 
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4 stevengs is on a distinguished road
Just as a side note, isn't there a patent on the idea of a 'progress bar'?
__________________
-Steven
"Is this a piece of your brain?" - Basil Fawlty
stevengs is offline   Reply With Quote
Old Oct 18th, 2005, 2:10 PM   #3
badbasser98
Hobbyist Programmer
 
Join Date: Mar 2005
Location: United States
Posts: 124
Rep Power: 4 badbasser98 is on a distinguished road
Quote:
Originally Posted by stevengs
Just as a side note, isn't there a patent on the idea of a 'progress bar'?


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
badbasser98 is offline   Reply With Quote
Old Oct 18th, 2005, 2:26 PM   #4
stevengs
Professional Programmer
 
stevengs's Avatar
 
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4 stevengs is on a distinguished road
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.
__________________
-Steven
"Is this a piece of your brain?" - Basil Fawlty
stevengs is offline   Reply With Quote
Old Oct 18th, 2005, 2:45 PM   #5
badbasser98
Hobbyist Programmer
 
Join Date: Mar 2005
Location: United States
Posts: 124
Rep Power: 4 badbasser98 is on a distinguished road
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
badbasser98 is offline   Reply With Quote
Old Oct 18th, 2005, 2:51 PM   #6
stevengs
Professional Programmer
 
stevengs's Avatar
 
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4 stevengs is on a distinguished road
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.
__________________
-Steven
"Is this a piece of your brain?" - Basil Fawlty
stevengs is offline   Reply With Quote
Old Oct 18th, 2005, 2:20 PM   #7
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Dev-C++ and GTK+.

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

tempest is offline   Reply With Quote
Old Oct 18th, 2005, 2:27 PM   #8
ivan
Professional Programmer
 
ivan's Avatar
 
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4 ivan is on a distinguished road
or you can use win32 but it's a bit hard and it sucks
ivan is offline   Reply With Quote
Old Oct 18th, 2005, 3:04 PM   #9
ivan
Professional Programmer
 
ivan's Avatar
 
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4 ivan is on a distinguished road
I even read the some companies tried to issue the serial number mechanism as their patent... What wrong with that people???
ivan is offline   Reply With Quote
Old Oct 18th, 2005, 3:04 PM   #10
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Isn't there still an amendment up in the air to abolish software patents in EU?
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:15 AM.

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