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.
Disabling drawing in the VFP form
How to position the GETPRINTER() dialog
BOOL LockWindowUpdate(
HWND hWndLock // handle to window
); DECLARE INTEGER LockWindowUpdate IN user32;
INTEGER hWndLock hWndLock [in] Specifies the window in which drawing will be disabled. If this parameter is NULL, drawing in the locked window is enabled.
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.
Home