Page 1 of 1

help : closes automatically when no activity ?

Posted: Tue Oct 23, 2012 9:30 am
by bels79
pls help
command for closes automatically when no activity ?

thanks'

Re: help : closes automatically when no activity ?

Posted: Tue Oct 23, 2012 9:56 am
by bpd2000
I think you can use timer control

Re: help : closes automatically when no activity ?

Posted: Tue Oct 23, 2012 11:19 am
by esgici
bels79 wrote: command for closes automatically when no activity ?'
Please look at here :

viewtopic.php?f=9&t=1361&p=10088

I hope that it will give you an idea :idea:

Happy HMG'ing :D

Re: help : closes automatically when no activity ?

Posted: Wed Oct 24, 2012 1:07 pm
by gfilatov
bels79 wrote: command for closes automatically when no activity ?
Hello,

Yes, it is possible with using WinAPI function GetLastInputInfo().

Please try the attached working sample which is based upon the TINATIVO class.

You can use a variable nTempo_espera for indicate a timeout in seconds.

Hope that helps. 8-)

Re: help : closes automatically when no activity ?

Posted: Thu Oct 25, 2012 5:25 am
by bels79
thanks, examples / ideas given