Recently some of the folks at the PowerBASIC forum were addressing a timer issue that was originally asked as a question. The attached example is a one shot timer that uses a thread and can be set to any millisecond duration. It is normal Windows API code written in PBWIN10 and it should be easy enough to use the example for setting a duration that responds with a normal WM_COMMAND message on completion of the duration.
Hi,Hutch! you are very good! :thumbsup: :thumbsup:
For anyone who is interested in how its done in 64 bit MASM, the example is here.
http://masm32.com/board/index.php?topic=9500.0 (http://masm32.com/board/index.php?topic=9500.0)
hi,Hutch! You are very good!