IntControl 36

Syntax:

IntControl (36, p1, p2, 0, 0)

 

IntControl 36 has been superceded with the function WinWaitReady.

 

Waits until an application is waiting for user input.

p1 = window name associated with application

p2 = time-out, in milliseconds (-1 = no time-out)

This function waits until the process which created the specified window is waiting for user input with no input pending, or until the specified time-out interval has elapsed. It can only be used with 32-bit GUI applications. It returns @TRUE if it has successfully waited, or @FALSE if a time-out has occurred (or if it was unable to initiate a wait).