TaskDialog as Progress Indicator |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
Posted: 27 July 2009 at 6:12pm |
The CJ TaskDialog is pretty neat, but it was lacking some features that I required (or at least that I thought would be nice to have) for creating a standard progress dialog for my applications. So I got to work and fought with the control a bit and got things working as I needed myself. The biggest problem was that the TaskDialog control doesn't expose and Hwnd property, and I wanted to add features like auto-dismiss after a time period or at 100% progress, the ability to dismiss the dialog at will, the ability to show no buttons, etc...
Here's the complete feature list:
uploads/20090729_133003_ProgressDialog.zip Feel free to use it for any kind of project...no warranty of course. Bug reports and new ideas are welcome. |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
SOURCE UPDATED IN TOP POST
Fixed a bug that was causing the TotalMS to be miscalculated. Also, I've added the ability to start the progress bar with an EventCode and then use the EventCode and associated StateCodes in the Timer event to allow for easy state tracking and updating. The sample will demonstrate this clearer than I can explain it, but if you have any questions, please ask here. Also added the ability to Start/Stop the Marquee (even when in progress mode). |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
Lodep59
Senior Member Joined: 03 April 2008 Status: Offline Points: 203 |
Post Options
Thanks(0)
|
Thank you for that (and for overs snippets :)).
I really needed it
Great job.
|
|
Product: Xtreme SuitePro (ActiveX) last version
Platform: Windows 7 Ultimate Language: VB6 SP6 (FR) |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
I'm glad you have found some use for the code!
If you find any bugs, or have any questions or ideas for extending the features, feel free to get back to me. |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
Lodep59
Senior Member Joined: 03 April 2008 Status: Offline Points: 203 |
Post Options
Thanks(0)
|
I'll let you know. No Problem.
|
|
Product: Xtreme SuitePro (ActiveX) last version
Platform: Windows 7 Ultimate Language: VB6 SP6 (FR) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |