SpQueryCapture: Difference between revisions
Appearance
m Martini moved page OS2 API:spQueryCapture to OS2 API:SPUTILS:spQueryCapture |
mNo edit summary |
||
Line 11: | Line 11: | ||
>0 – Handle of the window with the pointer captured. | >0 – Handle of the window with the pointer captured. | ||
[[Category: | [[Category:SpUtils]] |
Revision as of 19:11, 26 February 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.