Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetTimer Problem
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
SetTimer Problem
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01145221
Message ID:
01145221
Vues:
86
Hi all
i want to use SetTimer to make a windows timer.I declare like this

DECLARE long SetTimer IN user32 hwnd long,nIDEvent long,uElapse long,LpTimerFine long

the problem is the forth parameter that is the address of a function that for each time muse be called.

i call that like this :

THISFORM.thandle=SetTimer(THISFORM.HWND,1,1,THISFORM.alarm())
IF ThisForm.thandle=0
MESSAGEBOX('error')
ENDIF

there is no error but the alarm() method hint just one time

any Help!
Ali Mohammad Hossein Zadeh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform