Jump to content

SpQueryActiveWindow

From EDM2
Revision as of 14:01, 1 April 2015 by Martini (talk | contribs) (Created page with "This function returns the active window for HWND_DESKTOP, or other parent window. '''Syntax:''' hwnd = spQueryActiveWindow ( [ hwndParent ] ) '''Parameter:''' hwndParent –...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function returns the active window for HWND_DESKTOP, or other parent window.

Syntax: hwnd = spQueryActiveWindow ( [ hwndParent ] )

Parameter: hwndParent – Parent-window handle for which the active window is required. If ommited.

Returns:

  • 0 – No window is active.
  • >0 – Active-window handle.