Computer Science Canada

cls with dual screens

Author:  Mr. T [ 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?

Author:  Bacchus [ Fri May 27, 2005 11:45 pm ]
Post subject: 

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

Author:  Mr. T [ Fri May 27, 2005 11:56 pm ]
Post subject: 

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

Author:  Bacchus [ Fri May 27, 2005 11:59 pm ]
Post 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

Author:  Mr. T [ 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

Author:  c0bra54 [ Sat May 28, 2005 12:26 am ]
Post 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

Author:  Mr. T [ 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


: