ph_setforegroundwindow1 PowerHome formula function
Description
Brings the window of the specified handle to the foreground.
Syntax
ph_setforegroundwindow1( 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 helper EXE does not
run. Returns 2 if the function fails. Returns 3 if PowerHome is shutdown
while the function is executing.
Usage
Use this function as an alternative to the ph_setforegroundwindow function.
This function uses a different technique to set the foreground window
that may be more successful depending upon the window being brought to
the foreground and the current status of PowerHome including the user
that PowerHome is being run under. The PHSETFG.EXE file is a helper
executable for this function.