Jump to content

SpQueryActiveWindow: Difference between revisions

From EDM2
Created page with "This function returns the active window for HWND_DESKTOP, or other parent window. '''Syntax:''' hwnd = spQueryActiveWindow ( [ hwndParent ] ) '''Parameter:''' hwndParent –..."
 
(No difference)

Revision as of 04:25, 29 June 2016

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.