Toggle "Always On Top"

By JPG in AutoIt General Help and Support,
Hi, I can change the "winSetOnTop" attribute to get another specified window to be always ontop, but I would like to have a button in a gui that would simply toggle the current state. I don't see a flag for doing this, so what is the best way to achieve it. Thanks for any help, I just started using Autoit, so.... Jon
  • 3 replies