Would a program that sets the active window have to be active itself to work?
Looks sorta like this program can only call itself and that only if it is saved under title$ name (with an .exe) and I recall you have to add an end of string character for Windows calls.
A couple of things to try until Spriggsy weighs in...
Looks sorta like this program can only call itself and that only if it is saved under title$ name (with an .exe) and I recall you have to add an end of string character for Windows calls.
A couple of things to try until Spriggsy weighs in...
b = b + ...