Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetTimer Problem
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
SetTimer Problem
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01145221
Message ID:
01145221
Views:
88
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
Next
Reply
Map
View

Click here to load this message in the networking platform