Detecting wether idle or not..

Hi Peepz!
Does anyone know if it is possible to detect wether the application is currently in a procedure (Can be both subs and functions) or it is idle?
For VB 6.0 bytheway :)
Thanks, help is apprechiated :)
[235 byte] By [FiksVe] at [2007-11-17 17:07:53]
# 1 Re: Detecting wether idle or not..
Hmmm, need to rephrase that a little: What I need is more like raising an event when the application becomes idle, so that I can set a flag telling the rest of the application that it can safely start a new round..this must be possible, isnt it?

The reason for needing this is due to massive recursive loops with several different exitpoint, so just setting a flag at the end of each sub isnt an alternative.
FiksVe at 2007-11-10 0:22:38 >
# 2 Re: Detecting wether idle or not..
VB has one thread by default which means that you cannot start another procedure while one is running. So you don't have to do anything.
lehmaeit at 2007-11-10 0:23:43 >