WinLockWindow: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
==Syntax== | ==Syntax== | ||
WinLockWindow( | WinLockWindow(HWND hWnd, BOOL lock) | ||
HWND hWnd,BOOL lock | |||
===Parameters=== | ===Parameters=== | ||
; HWND ' | ; HWND 'hWnd' (input) | ||
: Handle of the window | : Handle of the window | ||
;BOOL (input) | ;BOOL 'lock' (input) | ||
: Indicator of action. It is allowed TRUE or FALSE. | : Indicator of action. It is allowed TRUE or FALSE. | ||
===Returns=== | ===Returns=== | ||
Returns the locked window handle (HWND). | Returns the locked window handle (HWND). | ||
==Sample== | |||
HWND hwndNext; | |||
... | |||
WinLockWindow(hwndNext, FALSE); | |||
[[Category:Win]] | [[Category:Win]] |
Latest revision as of 17:28, 7 May 2023
This function is used to lock or unlock a window.
Syntax
WinLockWindow(HWND hWnd, BOOL lock)
HWND hWnd,BOOL lock
Parameters
- HWND 'hWnd' (input)
- Handle of the window
- BOOL 'lock' (input)
- Indicator of action. It is allowed TRUE or FALSE.
Returns
Returns the locked window handle (HWND).
Sample
HWND hwndNext; ... WinLockWindow(hwndNext, FALSE);