Поделиться через


CWindow::LockWindowUpdate

Disables or enables drawing in the window by calling the LockWindowUpdate Win32 function.

BOOL LockWindowUpdate(
   BOOL bLock = TRUE 
) throw();

Параметры

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

Возвращаемое значение

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

Заметки

If bLock is TRUE, this method passes m_hWnd to the Win32 function; otherwise, it passes NULL.

Требования

Header: atlwin.h

См. также

Основные понятия

CWindow Class

CWindow Members