IntControl 46

Syntax:

IntControl (46, p1, 0, 0, 0)

Sets window retry timeout.

 

p1  Meaning

-1  Don't change (returns current setting)

0  No retries 

secs The number of seconds to wait (default = 9)

 

In the 32-bit version, WIL functions which take a window title as a parameter (except for WinExist) will wait up to 9 seconds for the specified window to appear. IntControl 46 allows the timeout setting to be changed.

Returns previous setting.