![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
Join Date: Mar 2005
Location: United States
Posts: 124
Rep Power: 4
![]() |
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 |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4
![]() |
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 |
|
|
|
|
|
#3 | |
|
Hobbyist Programmer
Join Date: Mar 2005
Location: United States
Posts: 124
Rep Power: 4
![]() |
Quote:
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 |
|
|
|
|
|
|
#4 | ||
|
Professional Programmer
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4
![]() |
Quote:
Richard Stallman: Article Quote:
__________________
-Steven "Is this a piece of your brain?" - Basil Fawlty |
||
|
|
|
|
|
#5 | |
|
Hobbyist Programmer
Join Date: Mar 2005
Location: United States
Posts: 124
Rep Power: 4
![]() |
Thanks tempest. Looks good.
Quote:
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 |
|
|
|
|
|
|
#6 |
|
Professional Programmer
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4
![]() |
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 |
|
|
|
|
|
#7 |
|
Programming Guru
![]() |
__________________
|
|
|
|
|
|
#8 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4
![]() |
or you can use win32 but it's a bit hard and it sucks
![]() |
|
|
|
|
|
#9 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4
![]() |
I even read the some companies tried to issue the serial number mechanism as their patent... What wrong with that people???
|
|
|
|
|
|
#10 |
|
Professional Programmer
|
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;} |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|