03-18-2005, 08:52 PM
Before BlockInput2, insert
opt waitmsg 1
You can download the attachment (above). It is the same, with little enhancements, and does not require opt waitmsg 1.
If it does not work properly even with opt waitmsg 1, it means that thread that calls BlockInput2 for some reason cannot process messages. Then you have to call BlockInput2 from another thread.
This macro blocks input, launches the real macro "Function14" (it must be function), and waits until the real macro exits:
BlockInput2 in other thread cannot be used on Win 98/me.
opt waitmsg 1
You can download the attachment (above). It is the same, with little enhancements, and does not require opt waitmsg 1.
If it does not work properly even with opt waitmsg 1, it means that thread that calls BlockInput2 for some reason cannot process messages. Then you have to call BlockInput2 from another thread.
This macro blocks input, launches the real macro "Function14" (it must be function), and waits until the real macro exits:
BlockInput2 in other thread cannot be used on Win 98/me.