Skip navigation.
Home
The QNX Community Portal

View topic - PtProgress not progressing

PtProgress not progressing

Isn't the name clear?

PtProgress not progressing

Postby plackduck » Fri Sep 11, 2009 2:44 pm

I'm trying to use the PtProgress wigdet to show the progress of a network transmission. I have a while loop that transmits 1kB each 1ms and I want to show this progress, however the progress bar do not showing intermediate values, just 0 and, at end, 100. Anyone can help me?
plackduck
New Member
 
Posts: 2
Joined: Fri Oct 12, 2007 3:03 pm

RE: PtProgress not progressing

Postby plackduck » Mon Oct 26, 2009 4:48 pm

I discover! The problem is that my transmission process were inside a button callback. How photon has only one thread to process the IHM callbacks, it just increment the progress after exit the button callback.
plackduck
New Member
 
Posts: 2
Joined: Fri Oct 12, 2007 3:03 pm

RE: PtProgress not progressing

Postby Fregl » Thu Feb 04, 2010 10:32 am

use PtFlush() after u did PtSetResource(...)
Fregl
Active Member
 
Posts: 41
Joined: Thu Jun 05, 2008 10:43 am
Location: Ukraine


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 2 guests