CWindow::LockWindowUpdate

BOOL LockWindowUpdate( BOOL bLock = TRUE );

Return Value

TRUE if the window is successfully locked; otherwise, FALSE.

Parameters

bLock

[in] If TRUE (the default value), the window will be locked. Otherwise, it will be unlocked.

Remarks

Disables or enables drawing in the window by calling the LockWindowUpdate Win32 function. If bLock is TRUE, this method passes m_hWnd to the Win32 function; otherwise, it passes NULL.

CWindow OverviewClass Members