Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 cls with dual screens
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Mr. T




PostPosted: Fri May 27, 2005 11:40 pm   Post subject: cls with dual screens

My program consists of two screens. One for the game and one for the score. I was wondering if it is possible to cls one screen without affecting the other?
Sponsor
Sponsor
Sponsor
sponsor
Bacchus




PostPosted: Fri May 27, 2005 11:45 pm   Post subject: (No subject)

yes, just set the active screen to the one that you want to clear then cls it
Mr. T




PostPosted: Fri May 27, 2005 11:56 pm   Post subject: (No subject)

yes, but i need a delay before my cls. that delay seems to affect both screens... Crying or Very sad
Bacchus




PostPosted: Fri May 27, 2005 11:59 pm   Post subject: (No subject)

the delay isnt for a specific screen, its in your code. so what its doing it delaying the code from running for the specified amount of time then clearing the one screen. Id say in your main loop or watever store the Time.Elapsed to a variable and then every time it comes back to that area check to see if the Time.Elapsed - var_used_b4 is enouph for the delay you want then clear it
Mr. T




PostPosted: Sat May 28, 2005 12:03 am   Post subject: Alex's Opinion

nvm, i got it to work with an evil Twisted Evil process Twisted Evil
thanks anyways
c0bra54




PostPosted: Sat May 28, 2005 12:26 am   Post subject: (No subject)

*GASP* surely you have read the evil's of process's,.. cause ya know they are evil Razz.. and TOTALLY unnessesary.. we had this discussion alreayd.. post your prg somewhere.. we will get rid of that nasty process for ya Very Happy
Mr. T




PostPosted: Sat May 28, 2005 12:54 am   Post subject: Alex's Opinion

ok, im gonna post another topic...cuz i have another question too Laughing
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: