Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Callbacks and Timers » How to set a TimeCallback
Re: How to set a TimeCallback [message #50671 is a reply to message #50670] Sun, 02 December 2018 14:29 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Well, from that example it looks, like you need the SPF_ASYNC flag, which I found described here.

No Set/KillTimeCallback should be necessary for this. Just launch the Speak with the async flag in Start button callback and stop it by Stop button callback, which calls something like Speak("", SPF_PURGEBEFORESPEAK, NULL).

Best regards,
Honza

PS: Just guessing based on the docs, I haven't tried any of this. I actually didn't even touch any windows API for years Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to properly set a timer
Next Topic: Setting a timer to call Ctrl::Refresh in Ctrl::Paint()
Goto Forum:
  


Current Time: Wed Apr 24 10:15:05 CEST 2024

Total time taken to generate the page: 0.02239 seconds