SpQueryActiveWindow: Difference between revisions
Appearance
Created page with "This function returns the active window for HWND_DESKTOP, or other parent window. '''Syntax:''' hwnd = spQueryActiveWindow ( [ hwndParent ] ) '''Parameter:''' hwndParent –..." |
m Ak120 moved page OS2 API:SPUTILS:spQueryActiveWindow to SpQueryActiveWindow |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
* >0 – Active-window handle. | * >0 – Active-window handle. | ||
[[Category: | [[Category:SpUtils]] |
Latest revision as of 23:44, 26 February 2017
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.