Jump to content

WinLockWindow

From EDM2
Revision as of 17:28, 7 May 2023 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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);