IntControl 62

Syntax:

IntControl (62, p1, 0, 0, 0)

 

Sets dialog activation method.

This IntControl lets you change the method used to activate Dialog windows that are displayed by the WIL Interpreter. See IntControl 61 for more information.

p1 Method to use

-2 Don't activate dialogs.
-1 Don't change (just return current setting).
0 Standard method (SetForegroundWindow API call).
1 Switch to the window, then click on it.
2 Iconize the window, then switch to it.
3 Change foreground lock timeout.
4 Attach to the input thread of the foreground window.
5 Display invisible window, then attach to the input thread of the foreground window.

Note: The default method used:
5 Windows 2000 and newer.
0 Previous versions of Windows

Returns previous setting.