Author Topic: One shot timer example  (Read 1915 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9798
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
One shot timer example
« on: August 16, 2021, 03:00:18 PM »
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".  :biggrin:

I removed the OBJ module to get the zip file size down so you need to run "makeit.bat" to get it back.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

stevenxie

  • Member
  • **
  • Posts: 55
Re: One shot timer example
« Reply #1 on: August 16, 2021, 05:48:43 PM »
hi, Hutch,  :thumbsup:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9798
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: One shot timer example
« Reply #2 on: August 16, 2021, 07:41:09 PM »
 :biggrin:
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

daydreamer

  • Member
  • *****
  • Posts: 2094
  • beer glass
Re: One shot timer example
« Reply #3 on: August 16, 2021, 08:05:23 PM »
thanks Hutch :thumbsup:
this convinces me to use thread in my GUI,instead of WM_TIMER
SIMD fan and macro fan
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."