Jump to content

WinLockWindow: Difference between revisions

From EDM2
Created page with "This function is used to lock or unlock a window. ;Parameters HWND BOOL ;Returns Returns the locked window handle (HWND). WinLockWindow(hwndNext,FALSE);"
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This function is used to lock or unlock a window.  
This function is used to lock or unlock a window.  


;Parameters
==Syntax==
WinLockWindow(HWND hWnd, BOOL lock)


HWND  
HWND hWnd,BOOL lock
===Parameters===
; HWND 'hWnd' (input)
: Handle of the window


BOOL  
;BOOL 'lock' (input)
: Indicator of action. It is allowed TRUE or FALSE.


;Returns
===Returns===
Returns the locked window handle (HWND).  
Returns the locked window handle (HWND).  


  WinLockWindow(hwndNext,FALSE);
==Sample==
HWND  hwndNext;
...
  WinLockWindow(hwndNext, FALSE);
 
[[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);