Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.11 KB

File metadata and controls

42 lines (29 loc) · 1.11 KB

Home

Function name : LockWindowUpdate

Group: Painting and Drawing - Library: user32


The LockWindowUpdate function disables or enables drawing in the specified window. Only one window can be locked at a time.


Code examples:

Disabling drawing in the VFP form
How to position the GETPRINTER() dialog

Declaration:

BOOL LockWindowUpdate(
  HWND hWndLock   // handle to window
);  

FoxPro declaration:

DECLARE INTEGER LockWindowUpdate IN user32;
	INTEGER hWndLock  

Parameters:

hWndLock [in] Specifies the window in which drawing will be disabled. If this parameter is NULL, drawing in the locked window is enabled.


Return value:

If the function succeeds, the return value is nonzero. If the function fails, the return value is zero, indicating that an error occurred or another window was already locked.