Click here to Skip to main content
12,072,640 members (68,119 online)
Click here to Skip to main content
Add your own
alternative version

Stats

47.8K views
2.3K downloads
36 bookmarked
Posted

An example of a non progress bar

, 20 Feb 2005
Rate this:
Please Sign up or sign in to vote.
This shows how to use a "working" progress bar like Windows XP does.

Sample Image - nonprogressbar.jpg

Introduction

Have you ever wanted to show a working indicator but you can't determinate when you have finished? Well, Windows XP uses a control similar to a Progress, but with an animation instead. Here is the code.

The GSControls.h file

To use this control in your application, you have to include this the file "GSControls.h" and before trying to create the window, call InitializeGSControls to register the class.

To create a control's window you can use the NonProgressBar_Create macro or explicitly call the function CreateWindow, using NONPROGRESS_CLASS for the window class.

The control is very easy to use and I tried to make it most similar to the Common Controls, in Win32, so I think that's all. Checkout the file.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

GMazzo65
Web Developer
Argentina Argentina
No Biography provided

You may also be interested in...

Comments and Discussions

 
GeneralVery good Pin
xluo8-Jan-10 15:34
memberxluo8-Jan-10 15:34 
GeneralWell done! Pin
Sergey Podobriy27-Nov-09 3:03
memberSergey Podobriy27-Nov-09 3:03 
QuestionHow to do this? Pin
trifi21-Nov-06 0:47
membertrifi21-Nov-06 0:47 
AnswerRe: How to do this? Pin
GMazzo6522-Nov-06 13:45
memberGMazzo6522-Nov-06 13:45 
GeneralMissing include file Pin
Giulio20002-Nov-06 4:27
memberGiulio20002-Nov-06 4:27 
GeneralRe: Missing include file Pin
GMazzo653-Nov-06 13:58
memberGMazzo653-Nov-06 13:58 
GeneralNice job Pin
zilog71829-Oct-06 22:01
memberzilog71829-Oct-06 22:01 
GeneralPerfect! Pin
Mike D.31-Jan-06 14:42
memberMike D.31-Jan-06 14:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160208.1 | Last Updated 21 Feb 2005
Article Copyright 2005 by GMazzo65
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid