Wooohooooo! I fixed it so you don't need to double click on a button on the second time around. It was because Windows needing a click in the window, which is strange because the window was already on focus I think. Anyway, I found a work-around using _SCREENCLICK and _SCREENX and _SCREENY. I also added a _DELAY .25 to make it work every time. The delay gives the computer time to get rid of the MessageBox first. I put all of this in a GOSUB/RETURN at the bottom of the program.
Here is the fixed program:
(Code deleted, better version below.)
Here is the fixed program:
(Code deleted, better version below.)

