|
-
Aug 11th, 2011, 06:37 PM
#1
Thread Starter
PowerPoster
Re: [VB6] - Multimedia timers(timeSetEvent() and timeKillEvent() api functions)
 Originally Posted by LaVolpe
Per that vbAccelerator article's sample code: Function, not sub
Code:
Public Function TimerRoutine( _
ByVal wTimerID As Long, ByVal iMsg As Long, _
ByVal dwUser As Long, ByVal dw1 As Long, ByVal dw2 As Long _
) As Long
End Function
Function returns no value. Additionally that multimedia callback has 5 parameters not 4. Strongly recommend you read over that article and download the sample code to review it
with that advice and 1 public variable i put it to work(for catch the usercontrol.hwnd property and use it in sendmessage() api function).
and seems more acuracy and definition.
thanks very much
-
Aug 11th, 2011, 06:42 PM
#2
Thread Starter
PowerPoster
Re: [VB6] - Multimedia timers(timeSetEvent() and timeKillEvent() api functions)
for finish: how can i test 1 second?
100 milliseconds = 1 second?
-
Aug 11th, 2011, 09:24 PM
#3
Re: [VB6] - Multimedia timers(timeSetEvent() and timeKillEvent() api functions)
 Originally Posted by joaquim
100 milliseconds = 1 second?
No, 1000 ms = 1 sec
-
Aug 12th, 2011, 07:09 AM
#4
Thread Starter
PowerPoster
Re: [VB6] - Multimedia timers(timeSetEvent() and timeKillEvent() api functions)
 Originally Posted by LaVolpe
No, 1000 ms = 1 sec
some api funcions and vb6 timer control have only 100 and not 1000(tell if i'm incorrect) and the multimedia functions(timeSetEvent() and timeKillEvent() api functions) are 1000.
thanks for the information and the gelp
-
Aug 12th, 2011, 10:49 AM
#5
Re: [VB6] - Multimedia timers(timeSetEvent() and timeKillEvent() api functions)
 Originally Posted by joaquim
some api funcions and vb6 timer control have only 100 and not 1000(tell if i'm incorrect) and the multimedia functions(timeSetEvent() and timeKillEvent() api functions) are 1000.
thanks for the information and the gelp
Not quite. VB's timer is milliseconds also. 1 millisecond is 1/1000th of a second. However, not all intervals are milliseconds. For example, GIFs use 100ths of a second, not 1000ths of second.
-
Aug 12th, 2011, 04:29 PM
#6
Thread Starter
PowerPoster
Re: [VB6] - Multimedia timers(timeSetEvent() and timeKillEvent() api functions)
 Originally Posted by LaVolpe
Not quite. VB's timer is milliseconds also. 1 millisecond is 1/1000th of a second. However, not all intervals are milliseconds. For example, GIFs use 100ths of a second, not 1000ths of second.
ok.. thanks for the information... thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|