U++ framework
Do not panic. Ask here before giving up.

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: 1796
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: Sun Apr 26 04:47:38 GMT+2 2026

Total time taken to generate the page: 0.00517 seconds