[wxProgressDialog] on win7 Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
MoonKid
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 543
Joined: Wed Apr 05, 2006 9:39 am
Contact:

[wxProgressDialog] on win7

Post by MoonKid » Thu Oct 07, 2010 9:12 am

When using a wxProgressDialog on Win7 (32bit) the gauge control doesn't display the progress right. The green gauge only run from left to right more then one time like the god old "Kid" in Night Rider. ;)
Attachments
Zwischenablage01.jpg
example
Zwischenablage01.jpg (8.96 KiB) Viewed 818 times

User avatar
doublemax
Moderator
Moderator
Posts: 14793
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Post by doublemax » Thu Oct 07, 2010 9:53 am

I think under Windows 7 that's the "normal" look in "indeterminate mode", when the end of the progress is unknown.
Use the source, Luke!

MoonKid
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 543
Joined: Wed Apr 05, 2006 9:39 am
Contact:

Post by MoonKid » Thu Oct 07, 2010 10:27 am

doublemax wrote:I think under Windows 7 that's the "normal" look in "indeterminate mode", when the end of the progress is unknown.
The end is known. There is a max value.
Can i change this indetermeinate mode?

catalin
Moderator
Moderator
Posts: 1565
Joined: Wed Nov 12, 2008 7:23 am
Location: Romania

Post by catalin » Thu Oct 07, 2010 11:06 am

You should check the dialogs sample, Dialogs -> Informative dialogs -> Progress dialog. Initially it shows indeterminate mode, few seconds later the determined mode.

User avatar
doublemax
Moderator
Moderator
Posts: 14793
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Post by doublemax » Thu Oct 07, 2010 11:38 am

By using Pulse() you indicate indeterminate mode. Use Update() instead.
Use the source, Luke!

Post Reply