943,447 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 4221
  • C RSS
Jul 30th, 2003
0

Help with gui loop.

Expand Post »
I'm trying to put the whole program into a loop and I'm not shure where to place it. I have lots of diffrent windows that have to be updated. I have tried adding it into the function that starts the program but it just gets stuck in a loop and doesn't update anything else. Any ideas? I'm know how to use loops without a gui. I guess I just don't know where to put it.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gick01 is offline Offline
5 posts
since Jul 2003
Jul 30th, 2003
0

Re: Help with gui loop.

I think we need a bit more specifics. Is there a redraw function by any chance? Are you using QT? Why doesn't putting main() code into a loop work? You mean it doesn't redraw child windows?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Jul 30th, 2003
0

Re: Help with gui loop.

I'm new with working with the GUI so bare with me. I just have one window with a couple of inputs and its suppose to give me outputs based on time. I just need all the void functions to run in a loop until I close the window. Thanks for the reply
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gick01 is offline Offline
5 posts
since Jul 2003
Jul 30th, 2003
0

Re: Help with gui loop.

I don't understand why just putting that code into a loop doesn't work. Do you think maybe you could copy/paste some of your code here so we can see what's going on exactly?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Jul 30th, 2003
0

Re: Help with gui loop.

let me change some things and I will submit the code again.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gick01 is offline Offline
5 posts
since Jul 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: Game stages
Next Thread in C Forum Timeline: i = system ("cd c:\text"); :(





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC