ph_setforegroundwindow PowerHome formula function
Description
Brings the window of the specified handle to the foreground.
Syntax
ph_setforegroundwindow ( n )
Argument |
Description |
n
|
The handle of the window you wish to bring to the foreground.
|
Return value
Integer. Returns 0 if successful. Returns 1 if the setforegroundwindow API call fails. Returns 2 if the handle is 0. Returns 3 if the handle is currently in the foreground.