Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Global Timer since last User's Input
Message
De
08/12/2004 10:21:00
 
 
À
08/12/2004 06:47:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00897805
Message ID:
00967744
Vues:
17
Hi Cetin,

Thanks for your elaboration on the screensaver questions.

My first question is (in other words): Microsoft has introduced the api-call GetLastInputInfo to enable developers to check the last-input moment of the whole system, also as THE means to check since when the system is idle. Why is GetCursorPos() done earlier in your code, even if it is win2k or xp?

>Hi Peter,
>1) Couldn't understand this question. It's checked for all. Activity accepted to occur with either mouse movement or a keypress. For mouse checking GetCursorPos() and saving last point where mouse is.
>2) Checking screensaver because if a screensaver is set it could do the work for me. Then I check if a screensaver state was entered.
>3) No the code pasted there is not complete. Just the core pieces.
>
>Here is a more detailed version (not full but near):
[snip]
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform