Jump to content

SpQueryCapture: Difference between revisions

From EDM2
Created page with "This function returns the handle of the window that has the pointer captured. '''Syntax:''' hwnd = spQueryCapture ( [ hwndDesktop ] ) '''Parameter:''' hwndDesktop – Desk..."
 
Ak120 (talk | contribs)
 
(2 intermediate revisions by 2 users not shown)
Line 11: Line 11:
  >0 – Handle of the window with the pointer captured.
  >0 – Handle of the window with the pointer captured.


[[Category:The OS/2 API Project]]
[[Category:SpUtils]]

Latest revision as of 23:54, 6 March 2017

This function returns the handle of the window that has the pointer captured.

Syntax: hwnd = spQueryCapture ( [ hwndDesktop ] )

Parameter:

hwndDesktop – Desktop-window handle. If ommited the default desktop handle (HWND_DESKTOP) will be used

Returns:

0 – No window has the pointer captured, or an error occurred.
>0 – Handle of the window with the pointer captured.