Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
WinLockWindowUpdate (1.2)
◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINWINDOWMGR
BOOL WinLockWindowUpdate(hwndDesktop, hwndLockUpdate)
HWND hwndDesktop; /* handle of the desktop */
HWND hwndLockUpdate; /* handle of the window to lock/unlock */
The WinLockWindowUpdate function prevents or allows the updating of a window
and its child windows. While updating is locked, no drawing will take place
on the screen. When updating is unlocked, portions of the screen are
invalidated and repainted.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hwndDesktop Identifies the desktop window. This parameter can be
HWND_DESKTOP or the desktop window handle.
hwndLockUpdate Identifies the window to be locked. If this parameter is
NULL, all windows are unlocked.
Return Value
The return value is TRUE if the function is successful or FALSE if an error
occurs.
See Also
WinLockVisRegions
♦