Re: Mouse activitiy



On Oct 16, 8:10 pm, Dev <hanu...@xxxxxxxxx> wrote:
On Oct 16, 6:55 pm, "Thorsten Albers" <alber...@xxxxxxxxxxxxxxxxxxx>
wrote:





Dev <hanu...@xxxxxxxxx> schrieb im Beitrag
<1192541248.769716.262...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>...

i want to lock my application if there is no mouse activity for 30/60
seconds.
what is the way to do this.

Use the VB timer control:
- Set the timer interval
- Start (enable) the timer
- On any mouse action (MouseDown, MouseMove) restart the timer (interval =
0/...)

When the 'Timer' event of the timer is fired the interval has elapsed
without any mouse action (i.e. no mouse action for your application; mouse
action not related to your application are not covered by this).

--
----------------------------------------------------------------------
THORSTEN ALBERS Universität Freiburg
albers@
uni-freiburg.de
----------------------------------------------------------------------

Thanks Sir,
i do this in another application successfully.
but now i want my application lock if there is no activity in mouse
(all windows environment or in any other applications)
i mean there is no user activity on the PC.
if user busy in another applications (out side my application) my
application still run but if no activity in mouse/keyboard for nn
seconds my application goes lock or logoff.
please help me to do this.- Hide quoted text -

- Show quoted text -

I would find such behavior in an application to be MOST inexcusibly
annoying and would PROMPTLY delete it from my harddrive!
Like the corporate M$ shitware update system that runs at the most
inconvenient times (usually when I'm taking
a 5 minute piss break) to find the system has rebooted! Ctrl-S Ctrl-
S... OK! But forget just once and lose your work.
I requested systems to remove that intrusive thing from my system and
give me a batch command to run it manually.
activity for 30/60
seconds.
Maybe a person wants to THINK for a minute or two without clicking
around. I would BACK off from that unless you desire a small army of
pissed off users!

.