SpSetFocus: Difference between revisions
Appearance
m Martini moved page OS2 API:spSetFocus to OS2 API:SPUTILS:spSetFocus |
m Ak120 moved page OS2 API:SPUTILS:spSetFocus to SpSetFocus |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
False (0) – Error occurred. | False (0) – Error occurred. | ||
[[Category: | [[Category:SpUtils]] |
Latest revision as of 23:56, 26 February 2017
This function sets the focus window.
Syntax: success = spSetFocus ( [ [ hwndDesktop ] , ] hwnd )
Parameter:
- hwndDesktop – Desktop window handle. If omitted the default desktop handle (HWND_DESKTOP) will be used.
- hwnd – Window handle to receive the focus.
Returns:
True (1) – Successful completion. False (0) – Error occurred.