I originally prototyped this in PowerBASIC and it worked OK so I have done a 64 bit MASM version that not only has the thread based timer but a useful enough technique for making a viable bitmap button. To bloat it up a bit, it has a 128 pixel icon to make it "Pretty".

I removed the OBJ module to get the zip file size down so you need to run "makeit.bat" to get it back.