ph_getforegroundwindow PowerHome formula function
Description
Returns the handle of the currently active window (the foreground window).
Syntax
ph_getforegroundwindow ( )
Return value
Long. Returns the handle of the foreground window.