Declaration | Declare Function AllowSetForegroundWindow Lib "user32.dll" (ByVal dwProcessId As Long) As Long |
Parameters |
|
Return Values | If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. The function will fail if the calling process cannot set the foreground window. To get extended error information, call GetLastError. |
AllowSetForegroundWindow
The AllowSetForegroundWindow function enables the specified process to set the foreground window using the SetForegroundWindow function.